diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-09 15:06:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-09 15:27:33 -0400 |
commit | 2f98400b80749534687c7806845dbc9dc87d0cc5 (patch) | |
tree | 7737d9e1b104c51dc62fc83ef905d5a08bca7aca /gdk/gdkdeviceprivate.h | |
parent | ea7c9b93ea314e09d572b84b16047fff113b1b38 (diff) | |
download | gtk+-2f98400b80749534687c7806845dbc9dc87d0cc5.tar.gz |
gdk: Drop gdk_device_get/set_keys
This functionality was only ever half-implemented
on X11, and is not useful enough to keep around.
Diffstat (limited to 'gdk/gdkdeviceprivate.h')
-rw-r--r-- | gdk/gdkdeviceprivate.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index de7c9e5c34..4ca7c99694 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -31,13 +31,6 @@ G_BEGIN_DECLS #define GDK_DEVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_DEVICE, GdkDeviceClass)) typedef struct _GdkDeviceClass GdkDeviceClass; -typedef struct _GdkDeviceKey GdkDeviceKey; - -struct _GdkDeviceKey -{ - guint keyval; - GdkModifierType modifiers; -}; struct _GdkDevice { @@ -46,9 +39,7 @@ struct _GdkDevice gchar *name; GdkInputSource source; gboolean has_cursor; - gint num_keys; GdkAxisFlags axis_flags; - GdkDeviceKey *keys; GdkDisplay *display; /* Paired master for master, * associated master for slaves @@ -119,9 +110,6 @@ void _gdk_device_get_axis_info (GdkDevice *device, gdouble *max_value, gdouble *resolution); -void _gdk_device_set_keys (GdkDevice *device, - guint num_keys); - gboolean _gdk_device_translate_surface_coord (GdkDevice *device, GdkSurface *surface, guint index, |