gnomecanvas fails to import
Bug #1795 reported by
Sven Herzberg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-gnome2 (Ubuntu) |
Fix Released
|
Medium
|
MOTU |
Bug Description
> ruby -e 'require "gnomecanvas2"'
(eval):1: [BUG] rbgobj_
ruby 1.8.3 (2005-06-23) [i486-linux]
Abgebrochen
Changed in ruby-gnome2: | |
assignee: | nobody → motu |
Changed in ruby-gnome2: | |
status: | New → Fixed |
To post a comment you must log in.
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_GnomeCanvas PathDef (add the part between the lines) helps.