diff options
author | infirit <[email protected]> | 2015-07-09 10:24:33 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-09 11:28:41 +0200 |
commit | c1d1e089a69c5e90e8b0cf4b96335899f209e7f0 (patch) | |
tree | 571eb3ab0d26bc2a49105e4fb773180fe71b0cee /src/gs-visual-gl.c | |
parent | ff534bee884ac262696786038099ef17c5d447f0 (diff) | |
download | mate-screensaver-c1d1e089a69c5e90e8b0cf4b96335899f209e7f0.tar.bz2 mate-screensaver-c1d1e089a69c5e90e8b0cf4b96335899f209e7f0.tar.xz |
Remove gtk version check around gdk_x11_screen_lookup_visual
The function has been in Gtk 2 since 2.2.
Diffstat (limited to 'src/gs-visual-gl.c')
-rw-r--r-- | src/gs-visual-gl.c | 4 |
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); |