public inbox for
 help / color / mirror / Atom feed
From: Michael Brickenstein <>
To: "" <>
Subject: Bug in guile-gtk.c, procedure sgtk_build_args
Date: Tue, 19 Mar 2002 00:39:00 -0000	[thread overview]
Message-ID: <> (raw)

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

                 reply	other threads:[~2002-03-19  8:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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