gmessages: support NULL log domain

Desktop / GNOME / GLib - Ray Strode [redhat.com] - 22 July 2016 10:33 UTC

It's possible that a project may not define the G_LOG_DOMAIN but still use g_log functions. In such cases, we now crash.

This commit fixes that.

https://bugzilla.gnome.org/show_bug.cgi?id=769087

f414cdd gmessages: support NULL log domain
glib/gmessages.c | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)

Upstream: git.gnome.org


  • Share