GNOME Bugzilla – Bug 608170
Drive selection widget unusable from GtkBuilder
Last modified: 2010-02-23 20:04:35 UTC
Because the widget's _get_type() function isn't exported properly. libbrasero-media should use the CFLAGS and LDFLAGS from gmodule-export-2.0, and mark the functions to export with G_MODULE_EXPORT. Otherwise GtkBuilder cannot find the _get_type() functions, thus cannot register the widget types, and make them usable in applications.
Hello. I don't think any of the actions proposed are needed, since libbrasero-media is usually compiled as shared library and all symbols that GtkBuilder needs for it's operation are readily available. There is no Glade catalog for this widget available, which makes drive selection widget unusable from Glade. But one can insert this widget by manually editing interface file. Tadej
(In reply to comment #1) > Hello. > > I don't think any of the actions proposed are needed, since libbrasero-media is > usually compiled as shared library and all symbols that GtkBuilder needs for > it's operation are readily available. It works on Linux by sheer luck. Symbols are exported by default on Linux, but this isn't the case with all the OSes. > There is no Glade catalog for this widget available, which makes drive > selection widget unusable from Glade. But one can insert this widget by > manually editing interface file. And that's how it should be done in your sound-juicer patch.
This blocks porting sound-juicer from libglade to GtkBuilder, hence setting GNOME Target.
Thanks for the report. That's now done in master. Please feel free to reopen if I missed something.