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



commit 86d143552ba24e7202767c3b8e9d5f7cfc0dd73f
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 b188330..b629aae 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -1460,6 +1460,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]