[maemo-commits] [maemo-commits] r13326 - projects/haf/trunk/gtk+/gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Aug 22 11:38:06 EEST 2007
Author: xan
Date: 2007-08-22 11:38:05 +0300 (Wed, 22 Aug 2007)
New Revision: 13326

Modified:
   projects/haf/trunk/gtk+/gtk/gtkarrow.c
Log:
Remove debug spew and use +- G_MAXFLOAT for the ratio property limits.


Modified: projects/haf/trunk/gtk+/gtk/gtkarrow.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkarrow.c	2007-08-22 08:38:02 UTC (rev 13325)
+++ projects/haf/trunk/gtk+/gtk/gtkarrow.c	2007-08-22 08:38:05 UTC (rev 13326)
@@ -115,8 +115,8 @@
                                            g_param_spec_float ("maemo-aspect-ratio",
                                                                P_("Aspect Ratio"),
                                                                P_("Aspect ratio of the arrow widget"),
-                                                               1e-04,
-                                                               1000.0,
+                                                               -G_MAXFLOAT,
+                                                               G_MAXFLOAT,
                                                                1.0,
                                                                GTK_PARAM_READABLE));
 #endif
@@ -308,9 +308,6 @@
 		 + ((widget->allocation.height - height) * misc->yalign));
 #endif
      
-
-g_debug ("alloc %d%d, w %d h %d", widget->allocation.width, widget->allocation.height, width, height);
-
       shadow_type = arrow->shadow_type;
 
       if (widget->state == GTK_STATE_ACTIVE)


More information about the maemo-commits mailing list