From 98a76e7acec82eafc2b40b711745b50d44a8d2b3 Mon Sep 17 00:00:00 2001 From: poma Date: Tue, 7 Jun 2016 10:17:08 +0200 Subject: [PATCH] In GTK+ 3.20, a new GdkSeat object has been introduced that supersedes GdkDeviceManager and should be preferred in newly written code. https://developer.gnome.org/gdk3/unstable/GdkDeviceManager.html --- panel-plugin/eyes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel-plugin/eyes.c b/panel-plugin/eyes.c index 7cbb2b6..d33259f 100644 --- a/panel-plugin/eyes.c +++ b/panel-plugin/eyes.c @@ -170,7 +170,7 @@ timer_cb (EyesPlugin *eyes) GdkWindow *window; GdkDevice *mouse_device; -#if GTK_CHECK_VERSION (3,2,0) +#if GTK_CHECK_VERSION (3,20,0) GdkSeat *seat = gdk_display_get_default_seat (gdk_display_get_default ()); mouse_device = gdk_seat_get_pointer (seat); #else -- 2.4.11