summaryrefslogtreecommitdiff
path: root/src/gs-visual-gl.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-20 23:35:35 +0300
committermonsta <[email protected]>2016-11-20 23:35:35 +0300
commit030632057c5c65a46d218c9ed2ffed5277513c6e (patch)
tree5c642707d54df4c9fef0dd20d7e77e6dea41fd35 /src/gs-visual-gl.c
parentcceaaea0b336b9d288ac9399979427f5fd78b74d (diff)
downloadmate-screensaver-030632057c5c65a46d218c9ed2ffed5277513c6e.tar.bz2
mate-screensaver-030632057c5c65a46d218c9ed2ffed5277513c6e.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmatekbd and libmate-desktop >= 1.17
Diffstat (limited to 'src/gs-visual-gl.c')
-rw-r--r--src/gs-visual-gl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gs-visual-gl.c b/src/gs-visual-gl.c
index 670859a..7dfe165 100644
--- a/src/gs-visual-gl.c
+++ b/src/gs-visual-gl.c
@@ -28,7 +28,6 @@
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
-#include <gtk/gtk.h>
#ifdef HAVE_LIBGL
#include <GL/gl.h>
@@ -104,16 +103,9 @@ gs_visual_gl_get_best_for_screen (GdkScreen *screen)
}
}
-#if GTK_CHECK_VERSION (3, 0, 0)
gdk_error_trap_pop_ignored ();
#else
- gdk_display_sync (display);
- gdk_error_trap_pop ();
-#endif
-
-#else
visual = NULL;
-
#endif /* HAVE_LIBGL */
return visual;