vala r1372 - in trunk: . gobject



Author: juergbi
Date: Sun May 11 16:24:16 2008
New Revision: 1372
URL: http://svn.gnome.org/viewvc/vala?rev=1372&view=rev

Log:
2008-05-11  Juerg Billeter  <j bitron ch>

	* gobject/valaccodetypesymbolbinding.vala: fix double properties


Modified:
   trunk/ChangeLog
   trunk/gobject/valaccodetypesymbolbinding.vala

Modified: trunk/gobject/valaccodetypesymbolbinding.vala
==============================================================================
--- trunk/gobject/valaccodetypesymbolbinding.vala	(original)
+++ trunk/gobject/valaccodetypesymbolbinding.vala	Sun May 11 16:24:16 2008
@@ -124,7 +124,7 @@
 				} 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"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]