glade3 r1976 - trunk/gladeui



Author: tvb
Date: Fri Oct 17 01:01:11 2008
New Revision: 1976
URL: http://svn.gnome.org/viewvc/glade3?rev=1976&view=rev

Log:
fixed a silly bug


Modified:
   trunk/gladeui/glade-utils.c

Modified: trunk/gladeui/glade-utils.c
==============================================================================
--- trunk/gladeui/glade-utils.c	(original)
+++ trunk/gladeui/glade-utils.c	Fri Oct 17 01:01:11 2008
@@ -2033,10 +2033,10 @@
 						     0, G_MAXUINT64, 0, G_PARAM_READABLE|G_PARAM_WRITABLE);
 		else if (type == G_TYPE_FLOAT)
 			pspec = g_param_spec_float ("dummy", "dummy", "dummy",
-						    G_MINFLOAT, G_MAXFLOAT, 0.0, G_PARAM_READABLE|G_PARAM_WRITABLE);
+						    G_MINFLOAT, G_MAXFLOAT, 1.0F, G_PARAM_READABLE|G_PARAM_WRITABLE);
 		else if (type == G_TYPE_DOUBLE)
 			pspec = g_param_spec_double ("dummy", "dummy", "dummy",
-						     G_MINDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READABLE|G_PARAM_WRITABLE);
+						     G_MINDOUBLE, G_MAXDOUBLE, 1.0F, G_PARAM_READABLE|G_PARAM_WRITABLE);
 		else if (type == G_TYPE_STRING)
 			pspec = g_param_spec_string ("dummy", "dummy", "dummy",
 						     NULL, G_PARAM_READABLE|G_PARAM_WRITABLE);



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