mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Drop the deprecated gdk_device_manager_get_client_pointer
This commit is contained in:
parent
efc37d0855
commit
f350e346e4
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user