From f350e346e45a7d74330a0436039f260617f39420 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 25 Oct 2016 21:06:25 -0400 Subject: [PATCH] Drop the deprecated gdk_device_manager_get_client_pointer --- docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkdevicemanager.c | 26 -------------------------- gdk/gdkdevicemanager.h | 2 -- 3 files changed, 29 deletions(-) diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index 091e1370d2..c413044d44 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -788,7 +788,6 @@ GdkDeviceManager gdk_disable_multidevice gdk_device_manager_get_display gdk_device_manager_list_devices -gdk_device_manager_get_client_pointer GDK_DEVICE_MANAGER diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c index b7eaa83758..dd8453f559 100644 --- a/gdk/gdkdevicemanager.c +++ b/gdk/gdkdevicemanager.c @@ -339,29 +339,3 @@ gdk_device_manager_list_devices (GdkDeviceManager *device_manager, return GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->list_devices (device_manager, type); } - -/** - * gdk_device_manager_get_client_pointer: - * @device_manager: a #GdkDeviceManager - * - * Returns the client pointer, that is, the master pointer that acts as the core pointer - * for this application. In X11, window managers may change this depending on the interaction - * pattern under the presence of several pointers. - * - * You should use this function seldomly, only in code that isn’t triggered by a #GdkEvent - * and there aren’t other means to get a meaningful #GdkDevice to operate on. - * - * Returns: (transfer none): The client pointer. This memory is - * owned by GDK and must not be freed or unreferenced. - * - * Since: 3.0 - * - * Deprecated: 3.20: Use gdk_seat_get_pointer() instead. - **/ -GdkDevice * -gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager) -{ - g_return_val_if_fail (GDK_IS_DEVICE_MANAGER (device_manager), NULL); - - return GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->get_client_pointer (device_manager); -} diff --git a/gdk/gdkdevicemanager.h b/gdk/gdkdevicemanager.h index e68f34aab2..554d2d9a43 100644 --- a/gdk/gdkdevicemanager.h +++ b/gdk/gdkdevicemanager.h @@ -40,8 +40,6 @@ GdkDisplay * gdk_device_manager_get_display (GdkDeviceManager *device_man GDK_DEPRECATED_IN_3_20 GList * gdk_device_manager_list_devices (GdkDeviceManager *device_manager, GdkDeviceType type); -GDK_DEPRECATED_IN_3_20 -GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); G_END_DECLS