buildrootschalter/package/metacity/metacity-gconf.patch
Peter Korsgaard c25d7e49a9 metacity: fix build, bump version
Metacity no longer built after libgtk2 was updated, so fix it by bumping
the version. We unfortunately cannot move to the latest version, as
these have extra dependencies we don't have in BR yet
(libcanberra-gtk + gnome-doc-utils).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-23 22:37:47 +01:00

31 lines
757 B
Diff

[PATCH] fix build with --disable-gconf
src/core/prefs.c still contain a call to gconf_client_set_bool() when
built with --disable-gconf, breaking the build.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
src/core/prefs.c | 2 ++
1 file changed, 2 insertions(+)
Index: metacity-2.25.1/src/core/prefs.c
===================================================================
--- metacity-2.25.1.orig/src/core/prefs.c
+++ metacity-2.25.1/src/core/prefs.c
@@ -2949,6 +2949,7 @@
void
meta_prefs_set_compositing_manager (gboolean whether)
{
+#if HAVE_GCONF
GError *err = NULL;
gconf_client_set_bool (default_client,
@@ -2962,6 +2963,7 @@
err->message);
g_error_free (err);
}
+#endif
}
#ifndef HAVE_GCONF