aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.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 /e-util/e-plugin.c
parent03c039c098314b94767a2ec81b73c40fb4cbc168 (diff)
downloadgsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.gz
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.zst
gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.zip
Fix compiler warnings.
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 6eba330893..f839591cc6 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -131,8 +131,9 @@ ep_set_enabled (const gchar *id,
for (l = ep_disabled; l != NULL; l = l->next)
g_ptr_array_add (array, l->data);
g_ptr_array_add (array, NULL);
- g_settings_set_strv (settings, "disabled-eplugins", array->pdata);
-
+ g_settings_set_strv (
+ settings, "disabled-eplugins",
+ (const gchar * const *) array->pdata);
g_ptr_array_free (array, TRUE);
g_object_unref (settings);
}