[evolution: 1440/1446] More compiler warning fixes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution: 1440/1446] More compiler warning fixes.
- Date: Wed, 23 Nov 2011 02:12:20 +0000 (UTC)
commit 2e24e72b5ecb2684bfd5651a57c2600397b61c51
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Nov 22 15:15:03 2011 -0500
More compiler warning fixes.
mail/em-account-editor.c | 12 ++++++++----
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 cca18a8..2036025 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 2427fc1..7bed18d 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]