[vala/wip/attributes: 49/119] gidlparser: Drop usage of set_type_cname and set_lower_case_csuffix
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/attributes: 49/119] gidlparser: Drop usage of set_type_cname and set_lower_case_csuffix
- Date: Mon, 4 Jul 2011 10:26:12 +0000 (UTC)
commit edd95cba96b33682977cc7c18fe5a09a9fdf1364
Author: Luca Bruno <lucabru src gnome org>
Date: Wed Jun 29 15:05:12 2011 +0200
gidlparser: Drop usage of set_type_cname and set_lower_case_csuffix
vapigen/valagidlparser.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index ccd54aa..c6759b6 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -1593,9 +1593,9 @@ public class Vala.GIdlParser : CodeVisitor {
return;
}
} else if (nv[0] == "type_cname") {
- iface.set_type_cname (eval (nv[1]));
+ iface.set_attribute_string ("CCode", "type_cname", eval (nv[1]));
} else if (nv[0] == "lower_case_csuffix") {
- iface.set_lower_case_csuffix (eval (nv[1]));
+ iface.set_attribute_string ("CCode", "lower_case_csuffix", eval (nv[1]));
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]