aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-23 04:15:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-23 09:42:26 +0800
commit2e24e72b5ecb2684bfd5651a57c2600397b61c51 (patch)
treeb7ea6cd8c490744d69868b6ac92472d855eb97e7 /mail
parent00e495279937c6495d6fab99fe7f89583859ecd1 (diff)
downloadgsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.tar.gz
gsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.tar.zst
gsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.zip
More compiler warning fixes.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index cca18a8310..2036025ce3 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -4937,9 +4937,11 @@ setup_google_calendar (EMAccountEditor *emae)
array = g_ptr_array_new ();
for (i = 0; ids[i] != NULL; i++)
g_ptr_array_add (array, ids[i]);
- g_ptr_array_add (array, e_source_peek_uid (calendar));
+ g_ptr_array_add (array, (gpointer) e_source_peek_uid (calendar));
g_ptr_array_add (array, NULL);
- g_settings_set_strv (settings, SELECTED_CALENDARS, array->pdata);
+ g_settings_set_strv (
+ settings, SELECTED_CALENDARS,
+ (const gchar * const *) array->pdata);
g_strfreev (ids);
g_ptr_array_free (array, TRUE);
@@ -5007,9 +5009,11 @@ setup_yahoo_calendar (EMAccountEditor *emae)
array = g_ptr_array_new ();
for (i = 0; ids[i] != NULL; i++)
g_ptr_array_add (array, ids[i]);
- g_ptr_array_add (array, e_source_peek_uid (calendar));
+ g_ptr_array_add (array, (gpointer) e_source_peek_uid (calendar));
g_ptr_array_add (array, NULL);
- g_settings_set_strv (settings, SELECTED_CALENDARS, array->pdata);
+ g_settings_set_strv (
+ settings, SELECTED_CALENDARS,
+ (const gchar * const *) array->pdata);
g_strfreev (ids);
g_ptr_array_free (array, TRUE);