diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-11-09 19:35:00 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-11-09 19:35:00 +0800 |
commit | 925b03c373fc79ccd56ab718a0ab97ab92c06115 (patch) | |
tree | 57bdcde0d7f103022ad47967c4e5956cfb0f9f40 /modules/mail/em-mailer-prefs.c | |
parent | a610cccc0a32d48809301c35341e02822edaa612 (diff) | |
download | gsoc2013-evolution-925b03c373fc79ccd56ab718a0ab97ab92c06115.tar.gz gsoc2013-evolution-925b03c373fc79ccd56ab718a0ab97ab92c06115.tar.zst gsoc2013-evolution-925b03c373fc79ccd56ab718a0ab97ab92c06115.zip |
Make it fully build
Diffstat (limited to 'modules/mail/em-mailer-prefs.c')
-rw-r--r-- | modules/mail/em-mailer-prefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index b04c35b088..4dabd0dacf 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -212,7 +212,7 @@ jh_add_cb (GtkWidget *widget, tok = g_strdup_printf ("%s=%s", name, value); g_ptr_array_add (array, tok); g_ptr_array_add (array, NULL); - g_settings_set_strv (prefs->settings, "junk-custom-header", array->pdata); + g_settings_set_strv (prefs->settings, "junk-custom-header", (const gchar * const*) array->pdata); g_ptr_array_free (array, TRUE); g_strfreev (strv); @@ -260,7 +260,7 @@ jh_remove_cb (GtkWidget *widget, g_ptr_array_add (array, NULL); - g_settings_set_strv (prefs->settings, "junk-custom-header", array->pdata); + g_settings_set_strv (prefs->settings, "junk-custom-header", (const gchar * const*) array->pdata); g_strfreev (strv); g_ptr_array_free (array, TRUE); @@ -534,8 +534,8 @@ toggle_button_init (EMMailerPrefs *prefs, g_signal_connect (toggle, "toggled", toggled, prefs); } - if (!g_settings_is_writable (prefs->settings, key) - gtk_widget_set_sensitive ((GtkWidget *) toggle, FALSE); + if (!g_settings_is_writable (prefs->settings, key)) + gtk_widget_set_sensitive (GTK_WIDGET (toggle), FALSE); } static void |