diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-05-14 14:23:37 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-05-14 14:40:03 +0200 |
commit | ece9df86a81e425821f513df258c0f40c6faf214 (patch) | |
tree | c1a6e2ddaa0a49bd67725c8b62e4eabb2211dda2 /gtk/vncdisplaykeymap.c | |
parent | 90d3f3aac8080077064de54f571dce2f859d9788 (diff) |
Build fixes for gtk+2
Diffstat (limited to 'gtk/vncdisplaykeymap.c')
-rw-r--r-- | gtk/vncdisplaykeymap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/vncdisplaykeymap.c b/gtk/vncdisplaykeymap.c index d901811..543761d 100644 --- a/gtk/vncdisplaykeymap.c +++ b/gtk/vncdisplaykeymap.c @@ -48,6 +48,11 @@ #define GDK_Tab GDK_KEY_Tab #endif +#if !GLIB_CHECK_VERSION(3,0,0) +#define gdk_window_get_display(W) gdk_drawable_get_display(GDK_DRAWABLE(W)) +#endif + + /* keycode translation for sending ISO_Left_Send * to vncserver */ |