Revision: 2255 http://geany.svn.sourceforge.net/geany/?rev=2255&view=rev Author: eht16 Date: 2008-02-13 01:30:20 -0800 (Wed, 13 Feb 2008)
Log Message: ----------- Fix broken compilation with GTK < 2.10.
Modified Paths: -------------- trunk/ChangeLog trunk/src/keybindings.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-02-12 15:50:22 UTC (rev 2254) +++ trunk/ChangeLog 2008-02-13 09:30:20 UTC (rev 2255) @@ -1,3 +1,8 @@ +2008-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/keybindings.h: Fix broken compilation with GTK < 2.10. + + 2008-02-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/search.c, src/ui_utils.c:
Modified: trunk/src/keybindings.h =================================================================== --- trunk/src/keybindings.h 2008-02-12 15:50:22 UTC (rev 2254) +++ trunk/src/keybindings.h 2008-02-13 09:30:20 UTC (rev 2255) @@ -46,14 +46,13 @@
// allowed modifier keys (especially no Caps lock, no Num lock) -#define GEANY_KEYS_MODIFIER_MASK (GDK_SHIFT_MASK | \ - GDK_CONTROL_MASK | \ - GDK_MOD1_MASK | \ - GDK_META_MASK | \ - GDK_SUPER_MASK | \ - GDK_HYPER_MASK) +#if GTK_CHECK_VERSION(2, 10, 0) +# define GEANY_KEYS_MODIFIER_MASK (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK | \ + GDK_META_MASK | GDK_SUPER_MASK | GDK_HYPER_MASK) +#else +# define GEANY_KEYS_MODIFIER_MASK (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK) +#endif
- // Plugin API typedef enum {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.