public inbox for
 help / color / mirror / Atom feed
From: Daniel Skarda <>
Subject: Re: guile-gtk-1.2 CVS % gtk-pixmap-new
Date: Fri, 29 Nov 2002 11:56:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (Stan Pinte's message of "Fri, 29 Nov 2002 08:53:04 +0100")

> 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+:


GtkWidget* gtk_pixmap_new	 (GdkPixmap  *pixmap,
				  GdkBitmap  *mask);


(define-func gtk_pixmap_new
  ((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.


  reply	other threads:[~2002-11-29 19:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21  0:01 compilation problem in guile-gtk CVS Stan Pinte
2002-11-22 12:44 ` Marius Vollmer
2002-11-28  0:18   ` general debugging question Stan Pinte
2002-11-28  2:32     ` Neil Jerram
2002-11-28  9:23       ` general debugging question + Segfault in guile-gtk Stan Pinte
2002-11-28 14:37         ` Daniel Skarda
2002-11-28 23:53           ` guile-gtk-1.2 CVS % gtk-pixmap-new Stan Pinte
2002-11-29 11:56             ` Daniel Skarda [this message]
2002-12-01  2:48               ` Stan Pinte
2002-11-28 23:53           ` general debugging question + Segfault in guile-gtk Stan Pinte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).