[gtk/wip/carlosg/more-device-api-cleanup: 4/7] gdk: Make gdk_device_list_physical_devices() private




commit 3c68db8e47d32adafba9f8f1c80598827671f91f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jul 30 17:15:14 2020 +0200

    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.

 docs/reference/gdk/gdk4-sections.txt | 1 -
 gdk/gdkdevice.h                      | 3 ---
 gdk/gdkdeviceprivate.h               | 2 ++
 3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index a438ee000c..2727123fc5 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -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
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 0cba90a495..1c7d390868 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -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);
 
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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]