summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-06-15 12:49:18 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-07-19 21:27:14 -0400
commit30f516ff1ff8d8430cfe415fcf803d09d2c68a9b (patch)
tree0a52e134634544c73c6f1bb333f06599d0324065 /gtk/gtkrange.c
parent3f429eb1978318a169009e34af7ef0f5a5c5f1c9 (diff)
downloadgtk+-30f516ff1ff8d8430cfe415fcf803d09d2c68a9b.tar.gz
range: Use a gizmo as slider
No need for this to be a GtkIcon.
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r--gtk/gtkrange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index efb0e97534..e51d0670e8 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -575,7 +575,7 @@ gtk_range_init (GtkRange *range)
gtk_widget_set_parent (priv->trough_widget, GTK_WIDGET (range));
- priv->slider_widget = gtk_icon_new ("slider");
+ priv->slider_widget = gtk_gizmo_new ("slider", NULL, NULL, NULL);
gtk_widget_set_parent (priv->slider_widget, priv->trough_widget);
/* Note: Order is important here.