summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkeventsource.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-12-16 19:08:52 +0100
committerCarlos Garnacho <carlosg@gnome.org>2015-12-16 19:47:06 +0100
commit598dedfe36495e68aeb5c29f7a16271f82c3cfc8 (patch)
tree66f484211e999786eef80cee6fc095dc3c639fbd /gdk/broadway/gdkeventsource.c
parent3e1e02c2bcf542ccdbc7e90e4b213cb5c9e06d26 (diff)
downloadgtk+-598dedfe36495e68aeb5c29f7a16271f82c3cfc8.tar.gz
broadway: Add a few ignore deprecations statements around GdkDeviceManager
There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices.
Diffstat (limited to 'gdk/broadway/gdkeventsource.c')
-rw-r--r--gdk/broadway/gdkeventsource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c
index 358abd04ea..14b70ee3b3 100644
--- a/gdk/broadway/gdkeventsource.c
+++ b/gdk/broadway/gdkeventsource.c
@@ -117,7 +117,9 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
g_assert (display != NULL);
display_broadway = GDK_BROADWAY_DISPLAY (display);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
device_manager = GDK_BROADWAY_DEVICE_MANAGER (gdk_display_get_device_manager (display));
+ G_GNUC_END_IGNORE_DEPRECATIONS;
switch (message->base.type) {
case BROADWAY_EVENT_ENTER: