summaryrefslogtreecommitdiff
path: root/gdk/gdkdevicemanager.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-12-09 12:29:52 +0100
committerCarlos Garnacho <carlosg@gnome.org>2015-12-15 00:40:21 +0100
commit4065bd1e9617d078518c71e0de1faaaaecd43347 (patch)
tree93183440c59c44f39e0178c5e2e97148c2f18f2f /gdk/gdkdevicemanager.c
parent3009eac85e15607bfda70952a13c33e36219ba38 (diff)
downloadgtk+-4065bd1e9617d078518c71e0de1faaaaecd43347.tar.gz
gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab()
GdkSeat is now the preferred way to deal with input devices and grabs. https://bugzilla.gnome.org/show_bug.cgi?id=759309
Diffstat (limited to 'gdk/gdkdevicemanager.c')
-rw-r--r--gdk/gdkdevicemanager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 3da434d703..26fc7642b9 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -323,6 +323,9 @@ gdk_device_manager_get_display (GdkDeviceManager *device_manager)
* GTK+ and must not be freed or unreffed.
*
* Since: 3.0
+ *
+ * Deprecated: 3.20, use gdk_seat_get_pointer(), gdk_seat_get_keyboard()
+ * and gdk_seat_list_slaves() instead.
**/
GList *
gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
@@ -348,6 +351,8 @@ gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
* owned by GDK and must not be freed or unreferenced.
*
* Since: 3.0
+ *
+ * Deprecated: 3.20.
**/
GdkDevice *
gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager)