GNOME Bugzilla – Bug 745786
Debug options not initialized in app
Last modified: 2015-07-25 21:37:20 UTC
Created attachment 298775 [details] [review] Initialize debug options Debug options are not initialized in the application.
In reality, libgdict should implicitly enable debugging options when an environment variable, like GDICT_DEBUG, is set. There should not be a need to enable debugging options programmatically.
I cannot get it to print debug messages with: GDICT_DEBUG=all jhbuild run gnome-dictionary I can only get debug messages when enabling debug options explicitly, though.
I meant that libgdict should always initialize itself to print out debugging notes, unconditionally. Code using libgdict should not need to call gdict_debug_init().
Created attachment 308131 [details] [review] Add gdict_init()
Created attachment 308132 [details] [review] Initialize gdict in app
Not very proud, but this will enable us to have debug options initialized.