summaryrefslogtreecommitdiff
path: root/src/gs-grab-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-grab-x11.c')
-rw-r--r--src/gs-grab-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c
index 6f1a58f..4fe4901 100644
--- a/src/gs-grab-x11.c
+++ b/src/gs-grab-x11.c
@@ -582,7 +582,7 @@ gs_grab_grab_root (GSGrab *grab,
display = gdk_display_get_default ();
#if GTK_CHECK_VERSION (3, 0, 0)
-#if GTK_CHECK_VERSION(3, 20, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
#else
device = gdk_device_manager_get_client_pointer (gdk_display_get_device_manager (display));