gmessages: fix g_test_expect_message() with NULL domains
authorDan Winship <danw@gnome.org>
Sat, 31 Aug 2013 15:51:07 +0000 (11:51 -0400)
committerDan Winship <danw@gnome.org>
Sat, 31 Aug 2013 15:51:07 +0000 (11:51 -0400)
commitf8bb08305cf819502934036e1fcfb7d7c7776097
treef6d4bea08e1d64d0638bddb882f6a8f22b5dfab1
parentcde9f4598ba0e34d7c5fcbe4fcddaf67c15bd5e3
gmessages: fix g_test_expect_message() with NULL domains

Allow passing a NULL domain to g_test_expect_message(), and more
importantly, don't crash if a message with a NULL domain gets logged
while there is an expected message.
glib/gmessages.c
glib/tests/testing.c