This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
gdk-pixmap-create-from-file problem
- To: guile-gtk at sourceware dot cygnus dot com
- Subject: gdk-pixmap-create-from-file problem
- From: Janis Dzerins <jonis at mt dot lv>
- Date: Wed, 26 Jan 2000 10:15:09 +0200 (EET)
Hello.
I stuck on the problem with gdk-pixmap-create-from-file: when I try to
load a pixmap using
(gdk-pixmap-create-from-file window #f #f "foo.xpm")
guile-gtk says that 2nd argument (#f) is wrong. I think this procedure
should accept #f (NULL) for the mask.
But, anyway, I changed the line
((ret GdkWindow) mask)
in (define-func gdk_pixmap_create_from_xpm ...) (gdk-1.2.defs:440) to
(GdkWindow mask (null-ok))
and then it worked fine for me.
That's it. Thank you for your attention. (I'm not a subscriber of this
list, so it would be nice if any replies to this message could be cc'ed
to me. Thanks again.)
--
jonis
A yawn is a silent shout.
-- G.K. Chesterton