2008-05-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodetypesymbolbinding.vala: fix double properties
svn path=/trunk/; revision=1372
2008-05-11 Jürg Billeter <j@bitron.ch>
+ * gobject/valaccodetypesymbolbinding.vala: fix double properties
+
+2008-05-11 Jürg Billeter <j@bitron.ch>
+
* vala/valastringliteral.vala:
Fix syntax error in .vapi file when using string literal as default
} else {
cspec.add_argument (new CCodeConstant ("0.0F"));
}
- } else if (st.get_type_id () == "G_TYPE_FLOAT") {
+ } else if (st.get_type_id () == "G_TYPE_DOUBLE") {
cspec.call = new CCodeIdentifier ("g_param_spec_double");
cspec.add_argument (new CCodeConstant ("-G_MAXDOUBLE"));
cspec.add_argument (new CCodeConstant ("G_MAXDOUBLE"));