diff options
author | infirit <[email protected]> | 2015-07-09 12:08:18 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-09 12:15:32 +0200 |
commit | 72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24 (patch) | |
tree | 4e76ed8e327a98bb4a89876a5747b1ea375fda07 /src/gs-grab-x11.c | |
parent | a3c426e1e81dc56f4fdd56f8c736125798fec26b (diff) | |
download | mate-screensaver-72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24.tar.bz2 mate-screensaver-72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24.tar.xz |
Use accessor functions instead of direct access
Make Gtk2 build with GSEAL_ENABLE And cut down on ifdef hell.
Diffstat (limited to 'src/gs-grab-x11.c')
-rw-r--r-- | src/gs-grab-x11.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c index 003df3b..72809d5 100644 --- a/src/gs-grab-x11.c +++ b/src/gs-grab-x11.c @@ -589,11 +589,7 @@ gs_grab_grab_offscreen (GSGrab *grab, gs_debug ("Grabbing an offscreen window"); screen = gtk_invisible_get_screen (GTK_INVISIBLE (grab->priv->invisible)); -#if GTK_CHECK_VERSION (3, 0, 0) res = gs_grab_grab_window (grab, gtk_widget_get_window (GTK_WIDGET (grab->priv->invisible)), screen, hide_cursor); -#else - res = gs_grab_grab_window (grab, grab->priv->invisible->window, screen, hide_cursor); -#endif return res; } |