This is the mail archive of the guile-gtk@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdk-pixmap-create-from-file problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]