The seed rpms
Find a file
2010-11-05 01:16:23 +01:00
.gitignore - New upstream version 2010-09-29 14:46:02 -04:00
README.Fedora - Only build against GTK+ 3.0 on Fedora > 14 2010-11-05 01:16:23 +01:00
seed-gdk3.patch try again 2010-07-16 01:17:36 +00:00
seed-libs.patch 2.31.5 2010-07-15 23:34:27 +00:00
seed.spec - Only build against GTK+ 3.0 on Fedora > 14 2010-11-05 01:16:23 +01:00
sources - New upstream version 2010-09-29 14:46:02 -04:00

There is a known problem importing the Gtk library from seed on
systems where seed is built against Gtk2, if Gtk3 is also installed;
this is because both Gtk versions install gobject-introspection
typelib files in the repository, and unless the desired version is
explicitly specified.

Simply importing Gtk fails as such:

> imports.gi.Gtk
seed: symbol lookup error: /usr/lib64/libgtk-x11-3.0.so.0: undefined
symbol: g_application_get_type

The workaround is to specify the version as such:

> // note the quotes; otherwise 2.0 gets evaluated as just 2
> imports.gi.versions.Gtk = "2.0";
2.0
> Gtk = imports.gi.Gtk;
[object Object]
> 

See example 3 on the Reference Manual's Importer section:
http://library.gnome.org/devel/seed/stable/seed-importer.html