From: Evan Nemerson Date: Thu, 8 Sep 2011 08:39:11 +0000 (-0700) Subject: girparser: correctly detect error domains in newer GIRs X-Git-Tag: 0.14.0~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08b06ff17f84d2c0e84fa0d21f2e914f6d5be067;p=thirdparty%2Fvala.git girparser: correctly detect error domains in newer GIRs --- diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala index 773c9a19b..3ef980dee 100644 --- a/vala/valagirparser.vala +++ b/vala/valagirparser.vala @@ -1838,7 +1838,7 @@ public class Vala.GirParser : CodeVisitor { parse_enumeration (); } } else { - if (reader.get_attribute ("glib:error-quark") != null) { + if ((reader.get_attribute ("glib:error-quark") != null) || (reader.get_attribute ("glib:error-domain") != null)) { parse_error_domain (); } else { parse_enumeration ();