public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Stan Pinte <alto_stan@wanadoo.be>
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
Date: Sun, 01 Dec 2002 02:48:00 -0000	[thread overview]
Message-ID: <20021201120728.72a2d45c.alto_stan@wanadoo.be> (raw)
In-Reply-To: <m0lm3co4p1.fsf@hobitin.ucw.cz>

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

      reply	other threads:[~2002-12-01 10:48 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           ` Stan Pinte
2002-11-28 23:53           ` guile-gtk-1.2 CVS % gtk-pixmap-new Stan Pinte
2002-11-29 11:56             ` Daniel Skarda
2002-12-01  2:48               ` Stan Pinte [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20021201120728.72a2d45c.alto_stan@wanadoo.be \
    --to=alto_stan@wanadoo.be \
    --cc=0rfelyus@ucw.cz \
    --cc=guile-gtk@sources.redhat.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).