python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / metacity / 0002-gconf.patch
blob939ef7ef98e9146289b75febf581dc51c7eca8ab
1 [PATCH] fix build with --disable-gconf
3 src/core/prefs.c still contain a call to gconf_client_set_bool() when
4 built with --disable-gconf, breaking the build.
6 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7 ---
8 src/core/prefs.c | 2 ++
9 1 file changed, 2 insertions(+)
11 Index: 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)
19 +#if HAVE_GCONF
20 GError *err = NULL;
22 gconf_client_set_bool (default_client,
23 @@ -2962,6 +2963,7 @@
24 err->message);
25 g_error_free (err);
27 +#endif
30 #ifndef HAVE_GCONF