GNOME Bugzilla – Bug 676664
Don't register modules in a constructor
Last modified: 2012-05-23 17:24:01 UTC
Registering the private _gi module with the normal macro causes it to be done before main() and before the app initialized the context. A side effect of this was that gjs initialized logging before gnome-shell set up the necessary environment variables, breaking it unless enabled from outside.
Created attachment 214793 [details] [review] Object: don't register modules in a constructor
Review of attachment 214793 [details] [review]: Makes sense
Attachment 214793 [details] pushed as db3219b - Object: don't register modules in a constructor