Commit 3644afd1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 40e1fb27
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.
......
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.
......
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.
......
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment