[gtk+/portal-race: 50/129] range: Use a gizmo as slider



commit 5d63848eeb7124ae79e4221b1b48b73877afc328
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]