[gtk+] Forgot one place



commit a8123bf95e4cf12a13a527d1d4ebc0450d815be1
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Apr 21 22:24:54 2013 -0400

    Forgot one place
    
    Also change the property definition for transition-duration
    to be uint instead of int.

 gtk/gtkstack.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index 5cd929a..4b3dbc9 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -374,12 +374,12 @@ gtk_stack_class_init (GtkStackClass *klass)
                                                         GTK_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_TRANSITION_DURATION,
-                                   g_param_spec_int ("transition-duration",
-                                                     P_("Transition duration"),
-                                                     P_("The animation duration, in milliseconds"),
-                                                     G_MININT, G_MAXINT,
-                                                     200,
-                                                     GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+                                   g_param_spec_uint ("transition-duration",
+                                                      P_("Transition duration"),
+                                                      P_("The animation duration, in milliseconds"),
+                                                      0, G_MAXUINT,
+                                                      200,
+                                                      GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
   g_object_class_install_property (object_class,
                                    PROP_TRANSITION_TYPE,
                                    g_param_spec_enum ("transition-type",


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