[gtk+/wip/baedert/drawing: 60/71] range: Use a gizmo as slider
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 60/71] range: Use a gizmo as slider
- Date: Fri, 16 Jun 2017 14:59:12 +0000 (UTC)
commit e957cf447a96d3a9c31a2de34394d6248b7b82db
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]