gnomecanvas fails to import

Bug #1795 reported by Sven Herzberg
12
Affects Status Importance Assigned to Milestone
ruby-gnome2 (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

> ruby -e 'require "gnomecanvas2"'
(eval):1: [BUG] rbgobj_define_class: Invalid gtype [CanvasPathDef]

ruby 1.8.3 (2005-06-23) [i486-linux]

Abgebrochen

Changed in ruby-gnome2:
assignee: nobody → motu
Revision history for this message
Sven Herzberg (herzi) wrote :

So the bug is that:

rb-gnomecanvas initializes gnome-canvas

gnome-canvas needs gnome-canvas-path-def and registeres it with GType

rb-gnomecanvas then tries to create its own gnome-canvas-path-def GType with the same name (which fails), so renaming it in gnomecanvas/src/rbgnome-canvas-path-def.c to _Rb_GnomeCanvasPathDef (add the part between the lines) helps.

Revision history for this message
Sven Herzberg (herzi) wrote : Patch to fix that bug

This bug still appears on UPSTREAM

Jeff Bailey (jbailey)
Changed in ruby-gnome2:
status: New → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.