gmessages: support NULL log domain
commitf414cddc1f765d06bbac9ddde0930f4567ccc70b
authorRay Strode <rstrode@redhat.com>
Fri, 22 Jul 2016 15:01:39 +0000 (22 11:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jul 2016 15:33:14 +0000 (22 11:33 -0400)
tree339f2434f7e95e310f92acc7879ff75ba3a2c95c
parentf38845c11651405216d3caafdc9a5018d80b86b0
gmessages: support NULL log domain

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
glib/gmessages.c