summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 479c826..3ed8b8e 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -793,11 +793,7 @@ get_best_visual_for_screen (GdkScreen *screen)
VisualID visual_id;
visual_id = (VisualID) v;
-#if GTK_CHECK_VERSION (3, 0, 0)
visual = gdk_x11_screen_lookup_visual (screen, visual_id);
-#else
- visual = gdkx_visual_get (visual_id);
-#endif
gs_debug ("Found best GL visual for screen %d: 0x%x",
gdk_screen_get_number (screen),