
Use g_error_matches() where we're testing error codes. In particular, use it rather than looking at only ->code and not also ->domain, which is just wrong. [thaller@redhat.com: rebase and modify original patch]
Use g_error_matches() where we're testing error codes. In particular, use it rather than looking at only ->code and not also ->domain, which is just wrong. [thaller@redhat.com: rebase and modify original patch]