make maximum digits compile time configurable via MAX_DIGITS and up to 20.
Wed Jun 20 05:32:05 2001 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.c: make maximum digits compile time configurable via MAX_DIGITS and up to 20. 5 was just ridiculously small. don't use automatic fixed size buffer for printf-ing floats, doubles can expand to really _huge_ strings, use g_strdup_printf() instead.
This commit is contained in:
		| @ -93,7 +93,7 @@ struct _GtkSpinButton | ||||
|   guint button : 2; | ||||
|   guint need_timer : 1; | ||||
|   guint timer_calls : 3; | ||||
|   guint digits : 3; | ||||
|   guint digits : 10; | ||||
|   guint numeric : 1; | ||||
|   guint wrap : 1; | ||||
|   guint snap_to_ticks : 1; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Tim Janik
					Tim Janik