[gtk+/wip/matthiasc/kill-device-manager: 14/26] Drop gdk_device_manager_list_devices



commit 376c33511b1083b9e709f60fef44fa6c9a19ed03
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 24 21:08:40 2017 -0500

    Drop gdk_device_manager_list_devices
    
    It is not used and GdkDeviceManager is going away.

 gdk/gdkdevicemanager.c |   27 ---------------------------
 gdk/gdkdevicemanager.h |    2 --
 2 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 0e30df1..bd22b49 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -238,30 +238,3 @@ gdk_device_manager_get_display (GdkDeviceManager *device_manager)
 
   return device_manager->display;
 }
-
-/**
- * gdk_device_manager_list_devices:
- * @device_manager: a #GdkDeviceManager
- * @type: device type to get.
- *
- * Returns the list of devices of type @type currently attached to
- * @device_manager.
- *
- * Returns: (transfer container) (element-type Gdk.Device): a list of 
- *          #GdkDevices. The returned list must be
- *          freed with g_list_free (). The list elements are owned by
- *          GTK+ and must not be freed or unreffed.
- *
- * Since: 3.0
- *
- * Deprecated: 3.20, use gdk_seat_get_pointer(), gdk_seat_get_keyboard()
- *             and gdk_seat_get_slaves() instead.
- **/
-GList *
-gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
-                                 GdkDeviceType     type)
-{
-  g_return_val_if_fail (GDK_IS_DEVICE_MANAGER (device_manager), NULL);
-
-  return GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->list_devices (device_manager, type);
-}
diff --git a/gdk/gdkdevicemanager.h b/gdk/gdkdevicemanager.h
index 547e2e8..af6793f 100644
--- a/gdk/gdkdevicemanager.h
+++ b/gdk/gdkdevicemanager.h
@@ -35,8 +35,6 @@ G_BEGIN_DECLS
 GType        gdk_device_manager_get_type           (void) G_GNUC_CONST;
 
 GdkDisplay * gdk_device_manager_get_display        (GdkDeviceManager *device_manager);
-GList *      gdk_device_manager_list_devices       (GdkDeviceManager *device_manager,
-                                                    GdkDeviceType     type);
 
 
 G_END_DECLS


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