[Xfce4-commits] <xfce4-screenshooter:master> Don't use gdk_window_is_destroyed.

Jérôme Guelfucci noreply at xfce.org
Mon Nov 30 00:18:01 CET 2009


Updating branch refs/heads/master
         to 5ba91403503e95598575f4e76226117fdf2c742e (commit)
       from 5bb3f73cedb66cfe0bd63d8a67ca2c16ddc17625 (commit)

commit 5ba91403503e95598575f4e76226117fdf2c742e
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Mon Nov 30 00:18:28 2009 +0100

    Don't use gdk_window_is_destroyed.

 lib/screenshooter-capture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index 1d0644c..c377bec 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -90,7 +90,7 @@ static GdkWindow
       *needs_unref = FALSE;
       *border = FALSE;
     }
-  else if (G_UNLIKELY (gdk_window_is_destroyed (window)))
+  else if (G_UNLIKELY (GDK_WINDOW_DESTROYED (window)))
     {
       TRACE ("The active window is destroyed, fallback to the root window.");
 



More information about the Xfce4-commits mailing list