Commit ee6b2d7e authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

add Hildon bindings, patch by Marcelo Lira, fixes bug 463598

2007-08-07  Juerg Billeter  <j@bitron.ch>

	* vapi/Makefile.am, vapi/hildon-1.deps, vapi/hildon-1.vala,
	  vapi/packages/hildon-1, vapigen/valagidlparser.vala: add Hildon
	  bindings, patch by Marcelo Lira, fixes bug 463598

svn path=/trunk/; revision=440
parent 98cfc097
2007-08-07 Jürg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/hildon-1.deps, vapi/hildon-1.vala,
vapi/packages/hildon-1, vapigen/valagidlparser.vala: add Hildon
bindings, patch by Marcelo Lira, fixes bug 463598
2007-08-07 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gapi2xml.pl: improve class and signal parsing,
......
......@@ -21,6 +21,8 @@ dist_vapi_DATA = \
gtkmozembed.vala \
hal.deps \
hal.vala \
hildon-1.deps \
hildon-1.vala \
libglade-2.0.deps \
libglade-2.0.vala \
libsoup-2.2.vala \
......
gtk+-2.0
gdk-2.0
pango
atk
cairo
This diff is collapsed.
gtk+-2.0
gdk-2.0
pango
atk
cairo
This diff is collapsed.
Hildon cprefix="Hildon" lower_case_cprefix="hildon_" cheader_filename="hildon/hildon.h"
HildonNote:note-type hidden="1"
......@@ -906,7 +906,19 @@ public class Vala.GIdlParser : CodeVisitor {
var prop = new Property (fix_prop_name (node.name), parse_type (prop_node.type), get_acc, set_acc, current_source_reference);
prop.access = MemberAccessibility.PUBLIC;
prop.interface_only = true;
var attributes = get_attributes ("%s:%s".printf (current_data_type.name, node.name));
if (attributes != null) {
foreach (string attr in attributes) {
var nv = attr.split ("=", 2);
if (nv[0] == "hidden") {
if (eval (nv[1]) == "1") {
return null;
}
}
}
}
if (current_type_symbol_set != null) {
current_type_symbol_set.add (prop.name);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment