[mutter] Fix compiling with --disable-gconf



commit 4cd4010a70e8da6dfaedf1ee27c9511b291304f4
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Feb 16 15:10:55 2010 -0500

    Fix compiling with --disable-gconf
    
    Make the body of meta_prefs_set_clutter_plugins()
    conditional on compiling with GConf support.

 src/core/prefs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 144005a..702add8 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -2811,6 +2811,7 @@ meta_prefs_get_clutter_plugins (void)
 void
 meta_prefs_set_clutter_plugins (GSList *list)
 {
+#ifdef HAVE_GCONF
   GError *err = NULL;
 
   gconf_client_set_list (default_client,
@@ -2825,6 +2826,7 @@ meta_prefs_set_clutter_plugins (GSList *list)
                     err->message);
       g_error_free (err);
     }
+#endif
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]