summaryrefslogtreecommitdiff
path: root/gdk/quartz
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-24 21:20:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-25 11:04:15 -0500
commitb6a634fe38fd95b349e944387d485ffa5a169a82 (patch)
tree832a080bfaa864c45150e3785131a50fb50fefc5 /gdk/quartz
parentecb96257b984dd19bce5e4e30613b01f8dabb590 (diff)
downloadgtk+-b6a634fe38fd95b349e944387d485ffa5a169a82.tar.gz
Drop the list_devices vfunc
We no longer have api that uses this.
Diffstat (limited to 'gdk/quartz')
-rw-r--r--gdk/quartz/gdkdevicemanager-core-quartz.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdk/quartz/gdkdevicemanager-core-quartz.c b/gdk/quartz/gdkdevicemanager-core-quartz.c
index 932528aae1..7620735de7 100644
--- a/gdk/quartz/gdkdevicemanager-core-quartz.c
+++ b/gdk/quartz/gdkdevicemanager-core-quartz.c
@@ -34,8 +34,6 @@
static void gdk_quartz_device_manager_core_finalize (GObject *object);
static void gdk_quartz_device_manager_core_constructed (GObject *object);
-static GList * gdk_quartz_device_manager_core_list_devices (GdkDeviceManager *device_manager,
- GdkDeviceType type);
static GdkDevice * gdk_quartz_device_manager_core_get_client_pointer (GdkDeviceManager *device_manager);
@@ -49,7 +47,6 @@ gdk_quartz_device_manager_core_class_init (GdkQuartzDeviceManagerCoreClass *klas
object_class->finalize = gdk_quartz_device_manager_core_finalize;
object_class->constructed = gdk_quartz_device_manager_core_constructed;
- device_manager_class->list_devices = gdk_quartz_device_manager_core_list_devices;
device_manager_class->get_client_pointer = gdk_quartz_device_manager_core_get_client_pointer;
}
@@ -122,23 +119,6 @@ gdk_quartz_device_manager_core_constructed (GObject *object)
g_object_unref (seat);
}
-static GList *
-gdk_quartz_device_manager_core_list_devices (GdkDeviceManager *device_manager,
- GdkDeviceType type)
-{
- GdkQuartzDeviceManagerCore *quartz_device_manager_core;
- GList *devices = NULL;
-
- if (type == GDK_DEVICE_TYPE_MASTER)
- {
- quartz_device_manager_core = (GdkQuartzDeviceManagerCore *) device_manager;
- devices = g_list_prepend (devices, quartz_device_manager_core->core_keyboard);
- devices = g_list_prepend (devices, quartz_device_manager_core->core_pointer);
- }
-
- return devices;
-}
-
static GdkDevice *
gdk_quartz_device_manager_core_get_client_pointer (GdkDeviceManager *device_manager)
{