From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28012 invoked by alias); 9 Sep 2003 23:27:02 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 28003 invoked from network); 9 Sep 2003 23:27:00 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 9 Sep 2003 23:27:00 -0000 Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h89NQwBt017708 for ; Wed, 10 Sep 2003 09:26:58 +1000 Received: from localhost (ppp111.dyn228.pacific.net.au [203.143.228.111]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h89NPI3H016296 for ; Wed, 10 Sep 2003 09:25:20 +1000 Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19wrVk-0000hh-00; Wed, 10 Sep 2003 09:03:00 +1000 To: guile-gtk@sources.redhat.com Subject: gdk-window-destroy reference count From: Kevin Ryde Mail-Copies-To: never Date: Tue, 09 Sep 2003 23:27:00 -0000 Message-ID: <87r82psgyj.fsf@zip.com.au> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00069.txt.bz2 * 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); }