public inbox for
 help / color / mirror / Atom feed
* Bug in guile-gtk.c, procedure sgtk_build_args
@ 2002-03-19  0:39 Michael Brickenstein
  0 siblings, 0 replies; only message in thread
From: Michael Brickenstein @ 2002-03-19  0:39 UTC (permalink / raw)
  To: guile-gtk

I 've found the following bug in gnome-guile-0.20, as I noticed, that 
expressions like

(gnome-canvas-item-new group 'GnomeCanvasLine 'points 
(gnome-canvas-points-from-coords #(0 0 500 500)))

fail with error-message:
no such arg for type `GnomeCanvasLine': points

The problem is:
sgtk_build_args tries to find out the 
if (args[i].type == GTK_TYPE_INVALID)
then error-message
But if this condition is true, this does not mean, that there is in fact an 
invalid argument, I found out; this sounds really ugly.
First I found out GTK_TYPE_INVALID==0
secondly I looked at 
gnometypebuiltins_vars.c, as it is distributed in gnome-libs-
There are many types, among them GTK_TYPE_GNOME_CANVAS_POINTS, set to 0, 
which is equal to GTK_TYPE_INVALID.
I am not very experienced with gnome and gtk, but this sounds to me either to 
be a bug in gnome-guile or in gnome-libs.

Yours sincerely
Michael Brickenstein

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-19  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19  0:39 Bug in guile-gtk.c, procedure sgtk_build_args Michael Brickenstein

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