Code

Drop short limit on propery values.
authorJon A. Cruz <jon@joncruz.org>
Tue, 20 Apr 2010 07:24:42 +0000 (00:24 -0700)
committerJon A. Cruz <jon@joncruz.org>
Tue, 20 Apr 2010 07:24:42 +0000 (00:24 -0700)
src/ege-select-one-action.cpp

index 9a5d2296395fbcc9463b6384a7ea7294631f3a47..ebc7ea26df1a07bb2c82e4cff0b44cf3b62dd2e4 100644 (file)
@@ -186,7 +186,7 @@ void ege_select_one_action_class_init( EgeSelectOneActionClass* klass )
                                          g_param_spec_int( "active",
                                                            "Active Selection",
                                                            "The index of the selected item",
-                                                           -1, 20, 0,
+                                                           -1, G_MAXINT, 0,
                                                            (GParamFlags)(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT) ) );
 
         g_object_class_install_property( objClass,
@@ -194,7 +194,7 @@ void ege_select_one_action_class_init( EgeSelectOneActionClass* klass )
                                          g_param_spec_int( "label-column",
                                                            "Display Column",
                                                            "The column of the model that holds display strings",
-                                                           0, 20, 0,
+                                                           0, G_MAXINT, 0,
                                                            (GParamFlags)(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT) ) );
 
         g_object_class_install_property( objClass,
@@ -202,7 +202,7 @@ void ege_select_one_action_class_init( EgeSelectOneActionClass* klass )
                                          g_param_spec_int( "icon-column",
                                                            "Icon Column",
                                                            "The column of the model that holds display icon name",
-                                                           -1, 20, -1,
+                                                           -1, G_MAXINT, -1,
                                                            (GParamFlags)(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT) ) );
 
         g_object_class_install_property( objClass,
@@ -210,7 +210,7 @@ void ege_select_one_action_class_init( EgeSelectOneActionClass* klass )
                                          g_param_spec_int( "tooltip-column",
                                                            "Tooltip Column",
                                                           "The column of the model that holds tooltip strings",
-                                                           -1, 20, -1,
+                                                           -1, G_MAXINT, -1,
                                                            (GParamFlags)(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT) ) );
 
         g_object_class_install_property( objClass,
@@ -226,7 +226,7 @@ void ege_select_one_action_class_init( EgeSelectOneActionClass* klass )
                                          g_param_spec_int( "icon-size",
                                                            "Icon Size",
                                                           "Target icon size",
-                                                           -1, 20, -1,
+                                                           -1, G_MAXINT, -1,
                                                            (GParamFlags)(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT) ) );
 
         g_object_class_install_property( objClass,