Red Hat Bugzilla – Bug 626669
gtk3 Gtk-3.0.typelib breaks seed calling clutter-gtk which expects gtk2.
Last modified: 2011-04-14 18:53:36 EDT
Description of problem:
Not sure if this is a gobject-introspection bug, a Gtk3 bug, or a clutter-gtk bug. Tripped over this when it broke seed, but I don't think it's seed's fault.
Filing against gtk3 because it owns Gtk-3.0.typelib, feel free to reassign.
> Gtk = imports.gi.Gtk;
> GtkClutter = imports.gi.GtkClutter;
GIrepositoryError Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded
The problem is that seed calls gobject-introspection, which then goes and looks at both /usr/lib64/girepository-1.0/Gtk-2.0.typelib and /usr/lib64/girepository-1.0/Gtk-3.0.typelib, so Gtk becomes a gtk3 object. This comes as a surprise to GtkClutter, which was built against gtk2. There doesn't seem to be any way for seed to specify to gobject-introspection that it doesn't want gtk3.
How is this 2 lines of seed code supposed to work properly?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Works fine nowadays.