summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/core/prefs.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 09193a99..f713ff36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-11-22 Thomas Thurman <tthurman@gnome.org>
+ * src/core/prefs.c: fix two places where there was a warning
+ if GConf was turned off.
+
+2008-11-22 Thomas Thurman <tthurman@gnome.org>
+
* src/core/all-keybindings.h: "backward", not "backwards" throughout.
2008-11-20 Thomas Thurman <tthurman@gnome.org>
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 02f38a27..d0fb1c9c 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -68,8 +68,8 @@
static GConfClient *default_client = NULL;
static GList *changes = NULL;
static guint changed_idle;
-#endif
static GList *listeners = NULL;
+#endif
static gboolean use_system_font = FALSE;
static PangoFontDescription *titlebar_font = NULL;
@@ -976,6 +976,7 @@ meta_prefs_remove_listener (MetaPrefsChangedFunc func,
/* Initialisation. */
/****************************************************************************/
+#ifdef HAVE_GCONF
/* @@@ again, use glib's ability to tell you the size of the array */
static gchar *gconf_dirs_we_are_interested_in[] = {
"/apps/metacity",
@@ -985,6 +986,7 @@ static gchar *gconf_dirs_we_are_interested_in[] = {
"/desktop/gnome/interface",
NULL,
};
+#endif
void
meta_prefs_init (void)