[gtk+] range: Use a gizmo as slider



commit 30f516ff1ff8d8430cfe415fcf803d09d2c68a9b
Author: Timm Bäder <mail baedert org>
Date:   Thu Jun 15 12:49:18 2017 +0200

    range: Use a gizmo as slider
    
    No need for this to be a GtkIcon.

 gtk/gtkrange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index efb0e97..e51d067 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]