From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7002 invoked by alias); 1 Dec 2002 10:48:24 -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 6995 invoked from network); 1 Dec 2002 10:48:22 -0000 Received: from unknown (HELO ev6.be.wanadoo.com) (195.74.212.41) by sources.redhat.com with SMTP; 1 Dec 2002 10:48:22 -0000 Received: from pablo (dial-48-185.wanadoo.be [212.65.48.185]) by ev6.be.wanadoo.com (8.11.1/8.11.1) with SMTP id gB1Am8q24827; Sun, 1 Dec 2002 11:48:09 +0100 Date: Sun, 01 Dec 2002 02:48:00 -0000 From: Stan Pinte To: Daniel Skarda <0rfelyus@ucw.cz> Cc: guile-gtk@sources.redhat.com, guile-user@gnu.org Subject: Re: guile-gtk-1.2 CVS % gtk-pixmap-new Message-Id: <20021201120728.72a2d45c.alto_stan@wanadoo.be> In-Reply-To: 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> Reply-To: alto_stan@wanadoo.be Organization: Alto Software Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-DCC-wanadoo-be-Metrics: ev6 1016; Body=3 Fuz1=3 Fuz2=3 X-SW-Source: 2002-q4/txt/msg00022.txt.bz2 On Fri, 29 Nov 2002 15:01:30 +0100 Daniel Skarda <0rfelyus@ucw.cz> wrote: > > 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. > No problem....just a tiny grep/replace problem > > 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. It works perfectly anyway. > > 0. > -- Stanislas Pinte Computer Consultant Alto Software 20 Pl St Jacques B-4000 Liège web: http://www.altosw.be email: alto_stan@wanadoo.be