summaryrefslogtreecommitdiff
path: root/gdk/gdkkeys.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkkeys.h')
-rw-r--r--gdk/gdkkeys.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h
index c884b964f..9f51e69ef 100644
--- a/gdk/gdkkeys.h
+++ b/gdk/gdkkeys.h
@@ -61,10 +61,10 @@ typedef struct _GdkKeymapClass GdkKeymapClass;
#define GDK_IS_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_KEYMAP))
#define GDK_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_KEYMAP, GdkKeymapClass))
-
struct _GdkKeymap
{
- GObject parent_instance;
+ GObject parent_instance;
+ GdkDisplay *display;
};
struct _GdkKeymapClass
@@ -76,7 +76,10 @@ struct _GdkKeymapClass
GType gdk_keymap_get_type (void) G_GNUC_CONST;
-GdkKeymap* gdk_keymap_get_default (void);
+#ifndef GDK_MULTIHEAD_SAFE
+GdkKeymap* gdk_keymap_get_default (void);
+#endif
+GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
guint gdk_keymap_lookup_key (GdkKeymap *keymap,