diff options
author | Jim Huang <jserv.tw@gmail.com> | 2008-02-17 22:43:28 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-02-17 22:43:28 +0000 |
commit | c35fd86b3ba9c09403c8fdb72fa8ddc065e38c3a (patch) | |
tree | ef0fdd91fee08ced42c4c473b20850a659d29c12 /src/core/prefs.c | |
parent | 932fd0dcff9073813d5ae4d2ff63f41bff58fed9 (diff) | |
download | metacity-c35fd86b3ba9c09403c8fdb72fa8ddc065e38c3a.tar.gz |
Allow compilation when gconf mode is disabled. Closes #515019.
2008-02-17 Jim Huang <jserv.tw@gmail.com>
* src/core/prefs.c (update_binding): Allow compilation
when gconf mode is disabled. Closes #515019.
svn path=/trunk/; revision=3573
Diffstat (limited to 'src/core/prefs.c')
-rw-r--r-- | src/core/prefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index 46d05b92..cbc639b1 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -2290,6 +2290,7 @@ update_binding (MetaKeyPref *binding, combo = binding->bindings->data; +#ifdef HAVE_GCONF /* Bug 329676: Bindings which can be shifted must not have no modifiers, * nor only SHIFT as a modifier. */ @@ -2349,6 +2350,7 @@ update_binding (MetaKeyPref *binding, */ return TRUE; } +#endif changed = FALSE; if (keysym != combo->keysym || |