summaryrefslogtreecommitdiff
path: root/gtk/gtkrangeprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-01-16 19:20:53 +0100
committerTimm Bäder <mail@baedert.org>2019-01-16 19:20:53 +0100
commit9b15c6900a4d3b6bfa89611754317ee7402e9de6 (patch)
tree29278b1b5cde92199ecbac46040df0aef647a116 /gtk/gtkrangeprivate.h
parent135cf16969420d9182a2cd4c368e249ebf4b8b44 (diff)
downloadgtk+-9b15c6900a4d3b6bfa89611754317ee7402e9de6.tar.gz
colorscale: Redraw correct widget after setting rgba
The entire color scale hack is still done in GtkRange, which draws the color scale in the range gizmo. So, to correctly redraw the color scale when setting a new color, we need to redraw the proper widget and that's the trough widget. Fixes #1453
Diffstat (limited to 'gtk/gtkrangeprivate.h')
-rw-r--r--gtk/gtkrangeprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkrangeprivate.h b/gtk/gtkrangeprivate.h
index f76116ea10..40ee468b9c 100644
--- a/gtk/gtkrangeprivate.h
+++ b/gtk/gtkrangeprivate.h
@@ -42,6 +42,8 @@ gint _gtk_range_get_stop_positions (GtkRange *range
gint **values);
GtkWidget *gtk_range_get_slider_widget (GtkRange *range);
+GtkWidget *gtk_range_get_trough_widget (GtkRange *range);
+
void gtk_range_start_autoscroll (GtkRange *range,
GtkScrollType scroll_type);