[vala/switch-to-gir: 51/51] gidlparser: Allow setting type_cname of interfaces



commit 603a1675a5892fa8ac627669d7ec431c1c8ab2d0
Author: Luca Bruno <lucabru src gnome org>
Date:   Fri Mar 11 11:36:03 2011 +0100

    gidlparser: Allow setting type_cname of interfaces

 vapigen/valagidlparser.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 4a0f03f..cc44ac9 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -1492,6 +1492,8 @@ public class Vala.GIdlParser : CodeVisitor {
 						iface.add_cheader_filename (eval (nv[1]));
 					} else if (nv[0] == "lower_case_csuffix") {
 						iface.set_lower_case_csuffix (eval (nv[1]));
+					} else if (nv[0] == "type_cname") {
+						iface.set_type_cname (eval (nv[1]));
 					}
 				}
 			}



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