diff options
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; |