Commit 3ae0c62b authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

replace dummy property nick and blurb by property name

2007-09-27  Juerg Billeter  <j@bitron.ch>

	* gobject/valaccodegeneratorinterface.vala: replace dummy property nick
	  and blurb by property name

svn path=/trunk/; revision=636
parent 8f9092ce
2007-09-27 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinterface.vala: replace dummy property nick
and blurb by property name
2007-09-27 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: improve fix_type_name,
......
......@@ -96,8 +96,8 @@ public class Vala.CCodeGenerator {
private CCodeFunctionCall! get_param_spec (Property! prop) {
var cspec = new CCodeFunctionCall ();
cspec.add_argument (prop.get_canonical_cconstant ());
cspec.add_argument (new CCodeConstant ("\"foo\""));
cspec.add_argument (new CCodeConstant ("\"bar\""));
cspec.add_argument (prop.get_canonical_cconstant ());
cspec.add_argument (prop.get_canonical_cconstant ());
if ((prop.type_reference.data_type is Class && ((Class) prop.type_reference.data_type).is_subtype_of (gobject_type)) || prop.type_reference.data_type is Interface) {
cspec.call = new CCodeIdentifier ("g_param_spec_object");
cspec.add_argument (new CCodeIdentifier (prop.type_reference.data_type.get_upper_case_cname ("TYPE_")));
......
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