diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-01 05:42:14 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-07 19:27:43 +0800 |
commit | 00217c7a2a7833babbd9b9e79c9ae4f358969d70 (patch) | |
tree | 5d726d430fc3993339c5e49f9d08d9dcb2fe1e70 /capplet/settings/mail-guess-servers.c | |
parent | 812724b03432af4cc14f84b81fe5f03b4df27d9f (diff) | |
download | gsoc2013-evolution-00217c7a2a7833babbd9b9e79c9ae4f358969d70.tar.gz gsoc2013-evolution-00217c7a2a7833babbd9b9e79c9ae4f358969d70.tar.zst gsoc2013-evolution-00217c7a2a7833babbd9b9e79c9ae4f358969d70.zip |
Capplet cleanups.
Diffstat (limited to 'capplet/settings/mail-guess-servers.c')
-rw-r--r-- | capplet/settings/mail-guess-servers.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c index 565616486a..a9e477abd7 100644 --- a/capplet/settings/mail-guess-servers.c +++ b/capplet/settings/mail-guess-servers.c @@ -161,7 +161,7 @@ handle_outgoing (xmlNodePtr head, EmailProvider *provider) } static gboolean -parse_message (const char *msg, int length, EmailProvider *provider) +parse_message (const gchar *msg, gint length, EmailProvider *provider) { xmlDocPtr doc; xmlNodePtr node, top; @@ -266,7 +266,7 @@ guess_when_online (EmailProvider *provider) return FALSE; parse_soup_message (msg, provider); - + g_object_unref (msg); g_object_unref(session); g_free(url); @@ -275,8 +275,8 @@ guess_when_online (EmailProvider *provider) } -static char * -get_filename_for_offline_autoconfig (const char *domain) +static gchar * +get_filename_for_offline_autoconfig (const gchar *domain) { return g_build_filename (EVOLUTION_PRIVDATADIR, "mail-autoconfig", domain, NULL); } @@ -284,8 +284,8 @@ get_filename_for_offline_autoconfig (const char *domain) static gboolean guess_when_offline (EmailProvider *provider) { - char *filename; - char *contents; + gchar *filename; + gchar *contents; gsize length; gboolean success; @@ -298,7 +298,7 @@ guess_when_offline (EmailProvider *provider) if (!g_file_get_contents (filename, &contents, &length, NULL)) /* NULL-GError */ goto out; - success = parse_message (contents, (int) length, provider); + success = parse_message (contents, (gint) length, provider); out: g_free (filename); |