summaryrefslogtreecommitdiff
path: root/src/gs-visual-gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-visual-gl.c')
-rw-r--r--src/gs-visual-gl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gs-visual-gl.c b/src/gs-visual-gl.c
index e1f2cc1..670859a 100644
--- a/src/gs-visual-gl.c
+++ b/src/gs-visual-gl.c
@@ -93,11 +93,7 @@ gs_visual_gl_get_best_for_screen (GdkScreen *screen)
vid = XVisualIDFromVisual (vi->visual);
-#if GTK_CHECK_VERSION (3, 0, 0)
visual = gdk_x11_screen_lookup_visual (screen, vid);
-#else
- visual = gdkx_visual_get (vid);
-#endif
XFree (vi);