diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-07-30 17:15:14 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-07-30 18:30:13 +0200 |
commit | 3c68db8e47d32adafba9f8f1c80598827671f91f (patch) | |
tree | da799fdf6b9049970f0e7db9f7c33eea57434558 /gdk | |
parent | 9912c80d70cc7d7c331bbe1efbe430599675f6df (diff) | |
download | gtk+-3c68db8e47d32adafba9f8f1c80598827671f91f.tar.gz |
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.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkdevice.h | 3 | ||||
-rw-r--r-- | gdk/gdkdeviceprivate.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index 0cba90a495..1c7d390868 100644 --- a/gdk/gdkdevice.h +++ b/gdk/gdkdevice.h @@ -115,9 +115,6 @@ 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); GDK_AVAILABLE_IN_ALL diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index 04263b2416..1c802be7e4 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -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, |