]> git.street.me.uk Git - andy/viking.git/commit
Fix printing of DEBUG message since glib 2.32
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 7 May 2012 19:27:30 +0000 (21:27 +0200)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 7 May 2012 19:27:30 +0000 (21:27 +0200)
commit14b9e3a4c4f3912bfe5e848e6b0bf8d7620a53a0
tree9049002dd3e510b9e5f72f5ca069ef3932cfaadc
parent3bdd680c57831b0cee79716593ae75639b1147a2
Fix printing of DEBUG message since glib 2.32

Viking uses g_debug function. But in glib 2.32, the g_debug behavior changed and all
DEBUG messages are discarded, unless G_MESSAGES_DEBUG is set. So, "viking -d"
no more work as its design was to mute DEBUG messages when "-d" is not set.

Now, printing is restored via a dedicated function.
src/main.c