fontchooserwidgets: Spinbuttons are no entries

This commit is contained in:
Timm Bäder 2017-05-04 20:49:27 +02:00 committed by Matthias Clasen
parent 46007df8a5
commit 9fedd05051

View File

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