[vala/wip/error-gtype: 79/80] girparser: Pick up type_id of error domains



commit 2b386818ec58cf001fc65c324e548d7372b60265
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Nov 18 21:38:09 2018 +0100

    girparser: Pick up type_id of error domains

 vala/valagirparser.vala | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 2aed50f2f..44689002e 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2325,8 +2325,7 @@ public class Vala.GirParser : CodeVisitor {
                        sym = current.symbol;
                }
 
-               if (!error_domain)
-                       set_type_id_ccode (sym);
+               set_type_id_ccode (sym);
 
                sym.external = true;
                sym.access = SymbolAccessibility.PUBLIC;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]