summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-04-09 18:08:10 +0200
committerJavier Jardón <jjardon@gnome.org>2010-04-09 18:15:55 +0200
commiteb7121c4e6dc1bd124fc2410fc9f65a95c1aa302 (patch)
tree07dfc1f1196af606a87b55790e8fc6086c8b471f
parentb4adea747780fb05a7923707fe431d924c2ada9d (diff)
downloadgdk-pixbuf-eb7121c4e6dc1bd124fc2410fc9f65a95c1aa302.tar.gz
[directfb] Fix compile error on DirectFB backend.
Add a stub for gdk_keymap_add_virtual_modifiers() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=613988
-rw-r--r--gdk/directfb/gdkkeys-directfb.c7
-rw-r--r--gdk/gdk.symbols1
2 files changed, 8 insertions, 0 deletions
diff --git a/gdk/directfb/gdkkeys-directfb.c b/gdk/directfb/gdkkeys-directfb.c
index 39f2d33d8..fb7232108 100644
--- a/gdk/directfb/gdkkeys-directfb.c
+++ b/gdk/directfb/gdkkeys-directfb.c
@@ -1998,6 +1998,13 @@ gdk_keymap_lookup_key (GdkKeymap *keymap,
return 0;
}
+void
+gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
+ GdkModifierType *state)
+{
+ g_warning ("gdk_keymap_add_virtual_modifiers unimplemented \n");
+}
+
gboolean
gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state)
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index d5acc456b..548a06386 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_add_virtual_modifiers
gdk_keymap_map_virtual_modifiers
gdk_keyval_from_name
gdk_keyval_name G_GNUC_CONST