[gtk+/wip/baedert/drawing: 81/241] fontchooserwidgets: Spinbuttons are no entries
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 81/241] fontchooserwidgets: Spinbuttons are no entries
- Date: Thu, 15 Jun 2017 10:54:25 +0000 (UTC)
commit 6c8ade2b6e8c34ba22432ab7fa700a1e3b28d1f4
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 76a8450..3979872 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]