mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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
This commit is contained in:
parent
932fd0dcff
commit
c35fd86b3b
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-17 Jim Huang <jserv.tw@gmail.com>
|
||||||
|
|
||||||
|
* src/core/prefs.c (update_binding): Allow compilation
|
||||||
|
when gconf mode is disabled. Closes #515019.
|
||||||
|
|
||||||
2008-02-14 Jim Huang <jserv.tw@gmail.com>
|
2008-02-14 Jim Huang <jserv.tw@gmail.com>
|
||||||
|
|
||||||
* src/core/display.c, src/core/util.c: fixups to allow
|
* src/core/display.c, src/core/util.c: fixups to allow
|
||||||
|
@ -2290,6 +2290,7 @@ update_binding (MetaKeyPref *binding,
|
|||||||
|
|
||||||
combo = binding->bindings->data;
|
combo = binding->bindings->data;
|
||||||
|
|
||||||
|
#ifdef HAVE_GCONF
|
||||||
/* Bug 329676: Bindings which can be shifted must not have no modifiers,
|
/* Bug 329676: Bindings which can be shifted must not have no modifiers,
|
||||||
* nor only SHIFT as a modifier.
|
* nor only SHIFT as a modifier.
|
||||||
*/
|
*/
|
||||||
@ -2349,6 +2350,7 @@ update_binding (MetaKeyPref *binding,
|
|||||||
*/
|
*/
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
changed = FALSE;
|
changed = FALSE;
|
||||||
if (keysym != combo->keysym ||
|
if (keysym != combo->keysym ||
|
||||||
|
Loading…
Reference in New Issue
Block a user