From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12173 invoked by alias); 29 Nov 2002 19:56:06 -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 12159 invoked from network); 29 Nov 2002 19:56:05 -0000 Received: from unknown (HELO mail.tiscali.cz) (213.235.135.70) by sources.redhat.com with SMTP; 29 Nov 2002 19:56:05 -0000 Received: from hobitin.ucw.cz (212.11.98.48) by mail.tiscali.cz (6.0.044) id 3DC10A63006017A3; Fri, 29 Nov 2002 20:54:25 +0100 Received: from 0rfelyus by hobitin.ucw.cz with local (Exim 3.36 #1 (Debian)) id 18Hlhy-0000GM-00; Fri, 29 Nov 2002 15:01:30 +0100 To: alto_stan@wanadoo.be Cc: guile-gtk@sources.redhat.com, guile-user@gnu.org Subject: Re: guile-gtk-1.2 CVS % gtk-pixmap-new References: <5.1.1.6.0.20021121085949.03260e08@pop.wanadoo.be> <87d6oxfi6t.fsf@zagadka.ping.de> <20021128093703.1fe573c2.alto_stan@wanadoo.be> <20021128184234.5c3bc15b.alto_stan@wanadoo.be> <20021129085304.0c00472b.alto_stan@wanadoo.be> From: Daniel Skarda <0rfelyus@ucw.cz> Date: Fri, 29 Nov 2002 11:56:00 -0000 In-Reply-To: <20021129085304.0c00472b.alto_stan@wanadoo.be> (Stan Pinte's message of "Fri, 29 Nov 2002 08:53:04 +0100") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q4/txt/msg00021.txt.bz2 > apparently, gtk-pixmap-new has disappeared in the CVS version, (compared to > version guile-gtk-1.2-0.31). No, it does not have disappeared - it is still in gtk-1.2.defs, but now it has the same meaning as gtk_pixmap_new from Gtk+: gtk/gtkpixmap.h: GtkWidget* gtk_pixmap_new (GdkPixmap *pixmap, GdkBitmap *mask); gtk-1.2.defs: (define-func gtk_pixmap_new GtkWidget ((GdkPixmap pixmap) (GdkBitmap bitmap (null-ok) (= "NULL")))) Former (gtk-pixmap-new file parent) was "weaker" - it was not possible to create GtkPixmaps from already existing GdkPixmap/GdkPitmaps etc. I guess that the old behaviour was old hack from times, when there were no bindings for GdkPixmap/GdkBitmap types and functions. Because (< (guile-gtk-version) 1.0), I decided that there is still a time to replace the hack by correct bindings that closely reflect C API. As you wrote, I mentioned my change in ChangeLog and NEWS (that entry is not so clear about the change), but I forgot to send an email (because there were so many changes in my commit, that gtk-pixmap-new seemed to me as a cosmetic change). I am sorry if the change caused you big troubles. > I changed the call from that function to gtk-pixmap-new-from-file, which works > ok, but is this the desired change? Yes. gtk-pixmap-new-from-file implements code, that used to be in old gtk-pixmap-new C hack. 0.