diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 04:15:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 09:42:26 +0800 |
commit | 2e24e72b5ecb2684bfd5651a57c2600397b61c51 (patch) | |
tree | b7ea6cd8c490744d69868b6ac92472d855eb97e7 | |
parent | 00e495279937c6495d6fab99fe7f89583859ecd1 (diff) | |
download | gsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.tar.gz gsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.tar.zst gsoc2013-evolution-2e24e72b5ecb2684bfd5651a57c2600397b61c51.zip |
More compiler warning fixes.
-rw-r--r-- | mail/em-account-editor.c | 12 | ||||
-rw-r--r-- | modules/mail/e-mail-shell-view-actions.c | 1 |
2 files changed, 8 insertions, 5 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); diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 2427fc1ffd..7bed18d8b8 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -1635,7 +1635,6 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) GtkAction *action; GSettings *settings; GObject *object; - const gchar *key; g_return_if_fail (E_IS_MAIL_SHELL_VIEW (mail_shell_view)); |