acffd1e792
g_str_has_prefix() will assert when passed NULL, so we need to make sure that we are passed a non-NULL log_domain first. Spotted by <goughost<at>yahoo.com.cn> https://bugzilla.gnome.org/show_bug.cgi?id=663601