1[PATCH] fix build with --disable-gconf 2 3src/core/prefs.c still contain a call to gconf_client_set_bool() when 4built with --disable-gconf, breaking the build. 5 6Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> 7--- 8 src/core/prefs.c | 2 ++ 9 1 file changed, 2 insertions(+) 10 11Index: metacity-2.25.1/src/core/prefs.c 12=================================================================== 13--- metacity-2.25.1.orig/src/core/prefs.c 14+++ metacity-2.25.1/src/core/prefs.c 15@@ -2949,6 +2949,7 @@ 16 void 17 meta_prefs_set_compositing_manager (gboolean whether) 18 { 19+#if HAVE_GCONF 20 GError *err = NULL; 21 22 gconf_client_set_bool (default_client, 23@@ -2962,6 +2963,7 @@ 24 err->message); 25 g_error_free (err); 26 } 27+#endif 28 } 29 30 #ifndef HAVE_GCONF 31