diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-07-30 17:46:49 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-07-30 18:44:40 +0200 |
commit | 46eb0543373a7734e5ddeed7aa0a877af3bcf2ad (patch) | |
tree | c7f4034140e4ea9963bf9e125a49d5124b675375 /gdk/wayland | |
parent | 4a2050e220adabd09ecfadac99f208dc31b5ff12 (diff) | |
download | gtk+-46eb0543373a7734e5ddeed7aa0a877af3bcf2ad.tar.gz |
gdk: Drop gdk_device_get_device_type()
There is no longer a hierarchy of devices, or none that is seen
on the outside.
Diffstat (limited to 'gdk/wayland')
-rw-r--r-- | gdk/wayland/gdkdevice-wayland.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index d503f6cf93..bf04b19142 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -2823,7 +2823,6 @@ tablet_handle_done (void *data, logical_name = g_strdup_printf ("Logical pointer for %s", tablet->name); logical_device = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", logical_name, - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_MOUSE, "has-cursor", TRUE, "display", display, @@ -2833,7 +2832,6 @@ tablet_handle_done (void *data, stylus_device = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", tablet->name, - "type", GDK_DEVICE_TYPE_PHYSICAL, "source", GDK_SOURCE_PEN, "has-cursor", FALSE, "display", display, @@ -2938,7 +2936,6 @@ seat_handle_capabilities (void *data, seat->pointer = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Pointer", - "type", GDK_DEVICE_TYPE_PHYSICAL, "source", GDK_SOURCE_MOUSE, "has-cursor", TRUE, "display", seat->display, @@ -3008,7 +3005,6 @@ seat_handle_capabilities (void *data, seat->keyboard = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Keyboard", - "type", GDK_DEVICE_TYPE_PHYSICAL, "source", GDK_SOURCE_KEYBOARD, "has-cursor", FALSE, "display", seat->display, @@ -3036,7 +3032,6 @@ seat_handle_capabilities (void *data, seat->logical_touch = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Touch Logical Pointer", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_TOUCHSCREEN, "has-cursor", TRUE, "display", seat->display, @@ -3048,7 +3043,6 @@ seat_handle_capabilities (void *data, seat->touch = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Touch", - "type", GDK_DEVICE_TYPE_PHYSICAL, "source", GDK_SOURCE_TOUCHSCREEN, "has-cursor", FALSE, "display", seat->display, @@ -3085,7 +3079,6 @@ get_scroll_device (GdkWaylandSeat *seat, { seat->wheel_scrolling = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Wheel Scrolling", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_MOUSE, "has-cursor", TRUE, "display", seat->display, @@ -3100,7 +3093,6 @@ get_scroll_device (GdkWaylandSeat *seat, { seat->finger_scrolling = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Finger Scrolling", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_TOUCHPAD, "has-cursor", TRUE, "display", seat->display, @@ -3115,7 +3107,6 @@ get_scroll_device (GdkWaylandSeat *seat, { seat->continuous_scrolling = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Wayland Continuous Scrolling", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_TRACKPOINT, "has-cursor", TRUE, "display", seat->display, @@ -4098,7 +4089,6 @@ tablet_pad_handle_done (void *data, pad->device = g_object_new (GDK_TYPE_WAYLAND_DEVICE_PAD, "name", "Pad device", - "type", GDK_DEVICE_TYPE_PHYSICAL, "source", GDK_SOURCE_TABLET_PAD, "display", gdk_seat_get_display (pad->seat), "seat", pad->seat, @@ -4276,7 +4266,6 @@ init_devices (GdkWaylandSeat *seat) /* pointer */ seat->logical_pointer = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Core Pointer", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_MOUSE, "has-cursor", TRUE, "display", seat->display, @@ -4288,7 +4277,6 @@ init_devices (GdkWaylandSeat *seat) /* keyboard */ seat->logical_keyboard = g_object_new (GDK_TYPE_WAYLAND_DEVICE, "name", "Core Keyboard", - "type", GDK_DEVICE_TYPE_LOGICAL, "source", GDK_SOURCE_KEYBOARD, "has-cursor", FALSE, "display", seat->display, |