summaryrefslogtreecommitdiff
path: root/libslab/libslab-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libslab/libslab-utils.c')
-rw-r--r--libslab/libslab-utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libslab/libslab-utils.c b/libslab/libslab-utils.c
index 5c553069..66d1e4d3 100644
--- a/libslab/libslab-utils.c
+++ b/libslab/libslab-utils.c
@@ -191,11 +191,7 @@ libslab_get_current_screen (void)
event = gtk_get_current_event ();
if (event) {
if (event->any.window)
-#if GTK_CHECK_VERSION (3, 0, 0)
screen = gtk_window_get_screen (GTK_WINDOW (event->any.window));
-#else
- screen = gdk_drawable_get_screen (GDK_DRAWABLE (event->any.window));
-#endif
gdk_event_free (event);
}