gdk: Make gdk_device_list_physical_devices() private

Physical devices should probably be accounted internally in gdk/x11,
make this out of private API so at least the implementation details
don't leak.
This commit is contained in:
Carlos Garnacho 2020-07-30 17:15:14 +02:00
parent 9912c80d70
commit 3c68db8e47
3 changed files with 2 additions and 4 deletions

View File

@ -352,7 +352,6 @@ gdk_device_get_name
gdk_device_get_vendor_id
gdk_device_get_product_id
gdk_device_get_source
gdk_device_list_physical_devices
gdk_device_get_device_type
gdk_device_get_display
gdk_device_get_has_cursor

View File

@ -114,9 +114,6 @@ GdkSurface * gdk_device_get_surface_at_position (GdkDevice *device,
GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_device_get_display (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GList * gdk_device_list_physical_devices (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GdkDeviceType gdk_device_get_device_type (GdkDevice *device);

View File

@ -131,6 +131,8 @@ gboolean _gdk_device_translate_axis (GdkDevice *device,
GdkTimeCoord ** _gdk_device_allocate_history (GdkDevice *device,
int n_events);
GList * gdk_device_list_physical_devices (GdkDevice *device);
void _gdk_device_add_physical_device (GdkDevice *device,
GdkDevice *physical);
void _gdk_device_remove_physical_device (GdkDevice *device,