diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 3abf0ccf7d..ceecafa935 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -4317,3 +4317,9 @@ _gtk_range_set_steppers (GtkRange *range, gtk_widget_queue_resize (GTK_WIDGET (range)); } + +GtkCssNode * +gtk_range_get_trough_node (GtkRange *range) +{ + return range->priv->trough_node; +} diff --git a/gtk/gtkrangeprivate.h b/gtk/gtkrangeprivate.h index 52512ef7ac..1ce5219e5f 100644 --- a/gtk/gtkrangeprivate.h +++ b/gtk/gtkrangeprivate.h @@ -27,6 +27,7 @@ #include +#include G_BEGIN_DECLS @@ -47,6 +48,8 @@ void _gtk_range_set_steppers (GtkRange *range gboolean has_c, gboolean has_d); +GtkCssNode *gtk_range_get_trough_node (GtkRange *range); + G_END_DECLS