diff options
author | Ryan Lortie <desrt@desrt.ca> | 2007-06-29 16:02:24 +0000 |
---|---|---|
committer | Ryan Lortie <ryanl@src.gnome.org> | 2007-06-29 16:02:24 +0000 |
commit | e8e5af2d8cf5327bed9601572978478954580977 (patch) | |
tree | 7c97b63265b30132db87c1bfafa6cee30c1be85f /gdk | |
parent | 41aaca420dfe37a2513c3c340e743d5d1d7c6a04 (diff) | |
download | gtk+-e8e5af2d8cf5327bed9601572978478954580977.tar.gz |
Connect the "destroy" signal so that the 'window' pointer is set back to
2007-06-29 Ryan Lortie <desrt@desrt.ca>
* tests/testgtk.c (create_composited_window): Connect the "destroy"
signal so that the 'window' pointer is set back to NULL (like for the
other examples).
* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
destroy the Damage here. By finalize() XDestroyWindow has already
been called (and took the Damage with it).
Bug #452046.
svn path=/trunk/; revision=18290
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkwindow-x11.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 068959689d..045e5a0374 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -197,14 +197,6 @@ gdk_window_impl_x11_finalize (GObject *object) _gdk_xgrab_check_destroy (GDK_WINDOW (wrapper)); -#if defined(HAVE_XCOMPOSITE) && defined(HAVE_XDAMAGE) && defined (HAVE_XFIXES) - if (window_impl->damage != None) - { - XDamageDestroy (GDK_WINDOW_XDISPLAY (object), window_impl->damage); - window_impl->damage = None; - } -#endif - if (!GDK_WINDOW_DESTROYED (wrapper)) { GdkDisplay *display = GDK_WINDOW_DISPLAY (wrapper); |