diff options
author | monsta <[email protected]> | 2016-11-20 23:35:35 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-20 23:35:35 +0300 |
commit | 030632057c5c65a46d218c9ed2ffed5277513c6e (patch) | |
tree | 5c642707d54df4c9fef0dd20d7e77e6dea41fd35 /src/gs-visual-gl.c | |
parent | cceaaea0b336b9d288ac9399979427f5fd78b74d (diff) | |
download | mate-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.c | 8 |
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; |