aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-label-list-store.c
diff options
context:
space:
mode:
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);