public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Michael Brickenstein <bricken@rhrk.uni-kl.de>
To: "guile-gtk@sources.redhat.com" <guile-gtk@sources.redhat.com>
Subject: Bug in guile-gtk.c, procedure sgtk_build_args
Date: Tue, 19 Mar 2002 00:39:00 -0000	[thread overview]
Message-ID: <E16nFBl-0001gC-00@meise061.wohnheim.uni-kl.de> (raw)

Hello!
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.
But:
First I found out GTK_TYPE_INVALID==0
secondly I looked at 
gnometypebuiltins_vars.c, as it is distributed in gnome-libs-1.4.1.4
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:
  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=E16nFBl-0001gC-00@meise061.wohnheim.uni-kl.de \
    --to=bricken@rhrk.uni-kl.de \
    --cc=guile-gtk@sources.redhat.com \
    /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).