From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2797 invoked by alias); 19 Mar 2002 08:39:52 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 2687 invoked from network); 19 Mar 2002 08:39:45 -0000 Received: from unknown (HELO uni-kl.de) (131.246.137.52) by sources.redhat.com with SMTP; 19 Mar 2002 08:39:45 -0000 Received: from aixs1.rhrk.uni-kl.de (aixs1.rhrk.uni-kl.de [131.246.137.3]) by uni-kl.de (8.11.6+Sun/8.11.5) with ESMTP id g2J8dh822148 for ; Tue, 19 Mar 2002 09:39:43 +0100 (MET) Received: from meise061.wohnheim.uni-kl.de ([131.246.207.61] ident=mail) by aixs1.rhrk.uni-kl.de with esmtp (Exim 3.33 #2) id 16nF9j-0007HU-00 for guile-gtk@sources.redhat.com; Tue, 19 Mar 2002 09:39:43 +0100 Received: from localhost ([127.0.0.1] helo=there ident=michael) by meise061.wohnheim.uni-kl.de with smtp (Exim 3.35 #1 (Debian)) id 16nFBl-0001gC-00 for ; Tue, 19 Mar 2002 09:41:49 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Michael Brickenstein To: "guile-gtk@sources.redhat.com" Subject: Bug in guile-gtk.c, procedure sgtk_build_args Date: Tue, 19 Mar 2002 00:39:00 -0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-SW-Source: 2002-q1/txt/msg00040.txt.bz2 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