GNOME Bugzilla – Bug 560482
g_set_error accept 0 as domain, which is inconsistent with g_error_new*/g_set_error_literal
Last modified: 2008-11-28 20:53:40 UTC
g_error_new[_literal] and g_set_error_literal (by using g_error_new_literal) don't accept 0 as error domain; but g_set_error does accept 0 since it doesn't g_return_if_fail() on that, and uses g_new_error_valist internally which doesn't do so either. Since unfortunately g_set_error (error, 0, ...) has a few hits on google codesearch, fixing this may need to be deferred to glib 3, or be WONTFIXed.
Created attachment 122482 [details] [review] patch
lets go with WONTFIX