After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657833 - Import GLib namespace after searchPath initialization.
Import GLib namespace after searchPath initialization.
Status: RESOLVED FIXED
Product: seed
Classification: Bindings
Component: libseed
git master
Other All
: Normal normal
: ---
Assigned To: seed-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-31 14:21 UTC by Alexandre Mazari
Modified: 2011-09-01 04:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Import GLib namespace when searchPath is initialized. GLib might have extension present in the searchPath. Also makes extension loading exceptions bubble up to the javascript context. (3.35 KB, patch)
2011-08-31 14:21 UTC, Alexandre Mazari
none Details | Review

Description Alexandre Mazari 2011-08-31 14:21:42 UTC
If GLib has namespace extension, Seed.js evaluation fails because the searchPath ain't initialize.
This patch makes importing GLib namespace happen after searchPath initialization. 
Also makes extension loading exceptions bubble up to the javascript context.
Comment 1 Alexandre Mazari 2011-08-31 14:21:55 UTC
Created attachment 195299 [details] [review]
Import GLib namespace when searchPath is initialized. GLib might have extension present in the searchPath. Also makes extension loading exceptions bubble up to the javascript context.
Comment 2 Alan Knowles 2011-09-01 04:21:24 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.