aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-label-list-store.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-18 22:58:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-23 03:34:11 +0800
commitc75f58d01bb7bbe139cd73a85894dc5f50185816 (patch)
treea7ed07daa233b004c1ee8a6a39839a8a2d39b597 /mail/e-mail-label-list-store.c
parent03c039c098314b94767a2ec81b73c40fb4cbc168 (diff)
downloadgsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.gz
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.zst
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.zip
Fix compiler warnings.
Diffstat (limited to 'mail/e-mail-label-list-store.c')
-rw-r--r--mail/e-mail-label-list-store.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c
index 5ceacb02e7..ed8efb72b1 100644
--- a/mail/e-mail-label-list-store.c
+++ b/mail/e-mail-label-list-store.c
@@ -202,7 +202,9 @@ labels_model_changed_cb (GtkTreeModel *model,
}
g_ptr_array_add (array, NULL);
- g_settings_set_strv (store->priv->mail_settings, "labels", array->pdata);
+ g_settings_set_strv (
+ store->priv->mail_settings, "labels",
+ (const gchar * const *) array->pdata);
g_ptr_array_free (array, TRUE);
g_signal_handlers_unblock_by_func (store->priv->mail_settings, labels_settings_changed_cb, store);