diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-14 10:06:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-14 10:06:45 +0800 |
commit | dc0ab70f11e998c5d038fe1f078768b8dc071dc7 (patch) | |
tree | 7572a2672c92265fef2a037d2173be4beb4b83ec /plugins | |
parent | e7cdb05f83f3514f65ae1adfd5f0d2a4844d170c (diff) | |
download | gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar.gz gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar.bz2 gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar.lz gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar.xz gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.tar.zst gsoc2013-evolution-dc0ab70f11e998c5d038fe1f078768b8dc071dc7.zip |
Fix coding style.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/calendar-http/calendar-http.c | 12 | ||||
-rw-r--r-- | plugins/ipod-sync/ipod.c | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c index ad89379922..d2e8f903c6 100644 --- a/plugins/calendar-http/calendar-http.c +++ b/plugins/calendar-http/calendar-http.c @@ -34,17 +34,17 @@ GtkWidget * e_calendar_http_secure (EPlugin *epl, EConfigHookItemFactoryData *da GtkWidget *e_calendar_http_auth (EPlugin *epl, EConfigHookItemFactoryData *data); /* replaces all '@' with '%40' in str; returns newly allocated string */ -static char * -replace_at_sign (const char *str) +static gchar * +replace_at_sign (const gchar *str) { - char *res, *at; + gchar *res, *at; if (!str) return NULL; res = g_strdup (str); while (at = strchr (res, '@'), at) { - char *tmp = g_malloc0 (sizeof (char) * (1 + strlen (res) + 2)); + gchar *tmp = g_malloc0 (sizeof (gchar) * (1 + strlen (res) + 2)); strncpy (tmp, res, at - res); strcat (tmp, "%40"); @@ -386,7 +386,7 @@ static void username_changed (GtkEntry *entry, ESource *source) { const gchar *username; - char *uri; + gchar *uri; username = gtk_entry_get_text (GTK_ENTRY (entry)); @@ -401,7 +401,7 @@ username_changed (GtkEntry *entry, ESource *source) uri = e_source_get_uri (source); if (uri != NULL) { EUri *euri; - char *ruri; + gchar *ruri; if (username && !*username) username = NULL; diff --git a/plugins/ipod-sync/ipod.c b/plugins/ipod-sync/ipod.c index 75568660f1..ee7bfcb501 100644 --- a/plugins/ipod-sync/ipod.c +++ b/plugins/ipod-sync/ipod.c @@ -70,7 +70,7 @@ try_mount (gchar *device) GError *err = NULL; gint exit_status; - argv[0] = (gchar*)MOUNT; + argv[0] = (gchar *)MOUNT; argv[1] = device; argv[2] = NULL; @@ -94,7 +94,7 @@ try_umount (gchar *device) GError *err = NULL; gint exit_status; - argv[0] = (gchar*)UMOUNT; + argv[0] = (gchar *)UMOUNT; argv[1] = device; argv[2] = NULL; |