forked from AuroraMiddleware/gtk
fontchooserwidgets: Spinbuttons are no entries
This commit is contained in:
parent
46007df8a5
commit
9fedd05051
@ -355,7 +355,7 @@ output_cb (GtkSpinButton *spin,
|
||||
adjustment = gtk_spin_button_get_adjustment (spin);
|
||||
value = gtk_adjustment_get_value (adjustment);
|
||||
text = g_strdup_printf ("%2.4g", value);
|
||||
gtk_entry_set_text (GTK_ENTRY (spin), text);
|
||||
gtk_spin_button_set_text (spin, text);
|
||||
g_free (text);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user