GNOME Bugzilla – Bug 671928
Support explicitly setting G_MESSAGES_DEBUG
Last modified: 2012-03-13 11:10:41 UTC
I noticed that it's currently impossible to only get debug messages for one plugin, as g-s-d does if (debug) g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); So right now you can just choose between "no debug messages" and "all debug messages". It would be handy if you could do G_MESSAGES_DEBUG=mouse-plugin gnome-settings-daemon/gnome-settings-daemon --debug
Created attachment 209517 [details] [review] Support explicitly setting G_MESSAGES_DEBUG
couldn't you just change the overwrite parameter of g_setenv to be FALSE instead of adding the check?
oh nevermind me, i didn't see that this bug is already closed FIXED
@Ray: indeed, that'd be more elegant. I'm happy to fix that if Bastien is OK with that.
Either way. Feel free to commit that change if you feel it is necessary.
Done.