[gtk+] [directfb] Fix compile error on DirectFB backend.
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [directfb] Fix compile error on DirectFB backend.
- Date: Thu, 25 Mar 2010 16:01:50 +0000 (UTC)
commit ffbd007c50636b0a01fbb95194800593acd67dc7
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date: Tue Dec 22 10:12:29 2009 +0900
[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(+), 0 deletions(-)
---
diff --git a/gdk/directfb/gdkkeys-directfb.c b/gdk/directfb/gdkkeys-directfb.c
index c144c83..39f2d33 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 67ffb0a..d5acc45 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]