From d995132ca5b52c271e41f0f576f554b7de1e3b5b Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Tue, 22 Dec 2009 10:12:29 +0900 Subject: [PATCH] [directfb] Fix compile error on DirectFB backend. Add a stub for gdk_keymap_map_virtual_modifiers. --- gdk/directfb/gdkkeys-directfb.c | 8 ++++++++ gdk/gdk.symbols | 1 + 2 files changed, 9 insertions(+) diff --git a/gdk/directfb/gdkkeys-directfb.c b/gdk/directfb/gdkkeys-directfb.c index c144c83ab4..39f2d33d86 100644 --- a/gdk/directfb/gdkkeys-directfb.c +++ b/gdk/directfb/gdkkeys-directfb.c @@ -1998,6 +1998,14 @@ gdk_keymap_lookup_key (GdkKeymap *keymap, return 0; } +gboolean +gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap, + GdkModifierType *state) +{ + g_warning ("gdk_keymap_map_virtual_modifiers unimplemented \n"); + + return TRUE; +} #define __GDK_KEYS_DIRECTFB_C__ #include "gdkaliasdef.c" diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols index 67ffb0a84e..d5acc456bf 100644 --- a/gdk/gdk.symbols +++ b/gdk/gdk.symbols @@ -869,6 +869,7 @@ gdk_keymap_get_for_display gdk_keymap_get_caps_lock_state gdk_keymap_lookup_key gdk_keymap_translate_keyboard_state +gdk_keymap_map_virtual_modifiers gdk_keyval_from_name gdk_keyval_name G_GNUC_CONST #endif