Fix compiling with --disable-gconf

Make the body of meta_prefs_set_clutter_plugins()
conditional on compiling with GConf support.
This commit is contained in:
Owen W. Taylor 2010-02-16 15:10:55 -05:00
parent d21da5643b
commit 4cd4010a70

View File

@ -2811,6 +2811,7 @@ meta_prefs_get_clutter_plugins (void)
void void
meta_prefs_set_clutter_plugins (GSList *list) meta_prefs_set_clutter_plugins (GSList *list)
{ {
#ifdef HAVE_GCONF
GError *err = NULL; GError *err = NULL;
gconf_client_set_list (default_client, gconf_client_set_list (default_client,
@ -2825,6 +2826,7 @@ meta_prefs_set_clutter_plugins (GSList *list)
err->message); err->message);
g_error_free (err); g_error_free (err);
} }
#endif
} }
void void