[gtk+/wip/baedert/drawing: 97/396] fontchooserwidgets: Spinbuttons are no entries
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 97/396] fontchooserwidgets: Spinbuttons are no entries
- Date: Wed, 19 Jul 2017 11:18:30 +0000 (UTC)
commit 561873fd810755cb058b56f9b580bde1e66a2454
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]