This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
gdk-window-destroy reference count
- From: Kevin Ryde <user42 at zip dot com dot au>
- To: guile-gtk at sources dot redhat dot com
- Date: Wed, 10 Sep 2003 09:03:00 +1000
- Subject: gdk-window-destroy reference count
* gdk-1.2.defs, guile-gtk.c, guile-gtk.h (gdk_window_destroy): Use an
interp to avoid the unref gdk_window_destroy does.
void
gdk_window_destroy_interp (GdkWindow *window)
{
/* gdk_window_destroy will unref the window, but we don't want that */
gdk_window_ref (window);
gdk_window_destroy (window);
}