[gtk+/wip/baedert/drawing: 46/147] fontchooserwidgets: Spinbuttons are no entries
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 46/147] fontchooserwidgets: Spinbuttons are no entries
- Date: Thu, 18 May 2017 11:01:18 +0000 (UTC)
commit 7f46341661fa94c522730df413d888f4a7a9e696
Author: Timm Bäder <mail baedert org>
Date: Thu May 4 20:49:27 2017 +0200
fontchooserwidgets: Spinbuttons are no entries
gtk/gtkfontchooserwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c
index 1b0a7e4..9edc95c 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]