aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/webdav-account-setup/webdav-contacts-source.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /plugins/webdav-account-setup/webdav-contacts-source.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'plugins/webdav-account-setup/webdav-contacts-source.c')
-rw-r--r--plugins/webdav-account-setup/webdav-contacts-source.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/webdav-account-setup/webdav-contacts-source.c b/plugins/webdav-account-setup/webdav-contacts-source.c
index 79d4744c56..d338094726 100644
--- a/plugins/webdav-account-setup/webdav-contacts-source.c
+++ b/plugins/webdav-account-setup/webdav-contacts-source.c
@@ -51,8 +51,8 @@ typedef struct {
GtkWidget *
plugin_webdav_contacts(EPlugin *epl, EConfigHookItemFactoryData *data);
-int
-e_plugin_lib_enable(EPluginLib *ep, int enable);
+gint
+e_plugin_lib_enable(EPluginLib *ep, gint enable);
static void
ensure_webdav_contacts_source_group(void)
@@ -136,10 +136,10 @@ static void
set_ui_from_source(ui_data *data)
{
ESource *source = data->source;
- const char *url = e_source_get_uri(source);
+ const gchar *url = e_source_get_uri(source);
EUri *uri = e_uri_new(url);
- char *url_ui;
- const char *property;
+ gchar *url_ui;
+ const gchar *property;
gboolean use_ssl;
gboolean avoid_ifmatch;
@@ -183,9 +183,9 @@ set_source_from_ui(ui_data *data)
{
ESource *source = data->source;
gboolean avoid_ifmatch = gtk_toggle_button_get_active(data->avoid_ifmatch_toggle);
- const char *url = gtk_entry_get_text(data->url_entry);
+ const gchar *url = gtk_entry_get_text(data->url_entry);
EUri *uri = e_uri_new(url);
- char *url_noprotocol;
+ gchar *url_noprotocol;
gboolean use_ssl;
e_source_set_property(source, "avoid_ifmatch", avoid_ifmatch ? "1" : "0");
@@ -247,7 +247,7 @@ plugin_webdav_contacts(EPlugin *epl, EConfigHookItemFactoryData *data)
EABConfigTargetSource *t = (EABConfigTargetSource *) data->target;
ESource *source;
ESourceGroup *group;
- const char *base_uri;
+ const gchar *base_uri;
GtkWidget *parent;
GtkWidget *vbox;
@@ -342,8 +342,8 @@ plugin_webdav_contacts(EPlugin *epl, EConfigHookItemFactoryData *data)
return NULL;
}
-int
-e_plugin_lib_enable(EPluginLib *ep, int enable)
+gint
+e_plugin_lib_enable(EPluginLib *ep, gint enable)
{
if (enable) {
ensure_webdav_contacts_source_group();