metacity-gconf.patch 757 B

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