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:
Matthias Clasen 2004-11-14 01:25:35 +00:00 committed by Matthias Clasen
parent 40e1fb275b
commit 3644afd14b
5 changed files with 21 additions and 1 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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);