forked from AuroraMiddleware/gtk
Allow min == max. (#158225, Vasco Alexandre da Silva Costa)
2004-11-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow min == max. (#158225, Vasco Alexandre da Silva Costa)
This commit is contained in:
parent
40e1fb275b
commit
3644afd14b
@ -1,3 +1,8 @@
|
||||
2004-11-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
|
||||
min == max. (#158225, Vasco Alexandre da Silva Costa)
|
||||
|
||||
2004-11-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-11-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
|
||||
min == max. (#158225, Vasco Alexandre da Silva Costa)
|
||||
|
||||
2004-11-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-11-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
|
||||
min == max. (#158225, Vasco Alexandre da Silva Costa)
|
||||
|
||||
2004-11-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-11-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
|
||||
min == max. (#158225, Vasco Alexandre da Silva Costa)
|
||||
|
||||
2004-11-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.
|
||||
|
@ -1607,7 +1607,7 @@ gtk_spin_button_new_with_range (gdouble min,
|
||||
GtkSpinButton *spin;
|
||||
gint digits;
|
||||
|
||||
g_return_val_if_fail (min < max, NULL);
|
||||
g_return_val_if_fail (min <= max, NULL);
|
||||
g_return_val_if_fail (step != 0.0, NULL);
|
||||
|
||||
spin = g_object_new (GTK_TYPE_SPIN_BUTTON, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user