[gtk+] Drop the deprecated gdk_device_manager_get_client_pointer
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop the deprecated gdk_device_manager_get_client_pointer
- Date: Wed, 26 Oct 2016 01:10:31 +0000 (UTC)
commit f350e346e45a7d74330a0436039f260617f39420
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 25 21:06:25 2016 -0400
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, 0 insertions(+), 29 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 091e137..c413044 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
<SUBSECTION Standard>
GDK_DEVICE_MANAGER
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index b7eaa83..dd8453f 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 e68f34a..554d2d9 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]