[gtk+/wip/baedert/drawing: 50/130] range: Use a gizmo as slider



commit 2840197a32241e391bb3758f3e6b613d973cac20
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]