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:
parent
d21da5643b
commit
4cd4010a70
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user