diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-02 13:01:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-02 13:01:02 -0800 |
commit | a319d66c4ab3efec84700f2aa1440066b48ed20c (patch) | |
tree | a0c1ab12acd67b5578197cd9a9412f2c74984883 /display-gtk.h | |
parent | b900a211656bac71ef54ccec5361671e8fa5874c (diff) | |
download | subsurface-a319d66c4ab3efec84700f2aa1440066b48ed20c.tar.gz |
Use old style (pre gtk-2.22) keysyms
And include the compatibility header to build on newer versions.
Reported-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index b2903d7e9..a7279fa9a 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -3,6 +3,10 @@ #include <gtk/gtk.h> #include <gdk/gdk.h> +#include <gdk/gdkkeysyms.h> +#if GTK_CHECK_VERSION(2,22,0) +#include <gdk/gdkkeysyms-compat.h> +#endif extern GtkWidget *main_window; |