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 /testsuite/gdk | |
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 'testsuite/gdk')
-rw-r--r-- | testsuite/gdk/seat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuite/gdk/seat.c b/testsuite/gdk/seat.c index 0d723f1367..640e7d0c81 100644 --- a/testsuite/gdk/seat.c +++ b/testsuite/gdk/seat.c @@ -65,7 +65,6 @@ test_default_seat (void) if ((caps & GDK_SEAT_CAPABILITY_POINTER) != 0) { g_assert_nonnull (pointer0); - g_assert (gdk_device_get_device_type (pointer0) == GDK_DEVICE_TYPE_LOGICAL); g_assert (gdk_device_get_display (pointer0) == display); g_assert (gdk_device_get_seat (pointer0) == seat0); @@ -73,7 +72,6 @@ test_default_seat (void) for (l = physical_devices; l; l = l->next) { device = l->data; - g_assert (gdk_device_get_device_type (device) == GDK_DEVICE_TYPE_PHYSICAL); g_assert (gdk_device_get_display (device) == display); g_assert (gdk_device_get_seat (device) == seat0); } @@ -91,7 +89,6 @@ test_default_seat (void) if ((caps & GDK_SEAT_CAPABILITY_KEYBOARD) != 0) { g_assert_nonnull (keyboard0); - g_assert (gdk_device_get_device_type (keyboard0) == GDK_DEVICE_TYPE_LOGICAL); g_assert (gdk_device_get_display (keyboard0) == display); g_assert (gdk_device_get_seat (keyboard0) == seat0); g_assert (gdk_device_get_source (keyboard0) == GDK_SOURCE_KEYBOARD); @@ -100,7 +97,6 @@ test_default_seat (void) for (l = physical_devices; l; l = l->next) { device = l->data; - g_assert (gdk_device_get_device_type (device) == GDK_DEVICE_TYPE_PHYSICAL); g_assert (gdk_device_get_display (device) == display); g_assert (gdk_device_get_seat (device) == seat0); g_assert (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD); |