Bug 626669 - gtk3 Gtk-3.0.typelib breaks seed calling clutter-gtk which expects gtk2.
Summary: gtk3 Gtk-3.0.typelib breaks seed calling clutter-gtk which expects gtk2.
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-24 04:12 UTC by Valdis Kletnieks
Modified: 2011-04-14 22:53 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2011-04-14 22:53:36 UTC


Attachments (Terms of Use)

Description Valdis Kletnieks 2010-08-24 04:12:47 UTC
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.

% /usr/bin/seed
> Gtk = imports.gi.Gtk;
[object Object]
> 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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Matthias Clasen 2011-04-14 22:53:36 UTC
Works fine nowadays.


Note You need to log in before you can comment on or make changes to this bug.