From 9fedd0505156980a79c0d0e39dd9a29383931c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 4 May 2017 20:49:27 +0200 Subject: [PATCH] fontchooserwidgets: Spinbuttons are no entries --- gtk/gtkfontchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index 76a84502ae..3979872c45 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -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;