forked from AuroraMiddleware/gtk
Use accessor functions to access GtkScale
This commit is contained in:
parent
9ddda9c844
commit
de9c5f8d3d
@ -2760,7 +2760,7 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
|
|||||||
|
|
||||||
/* now check whether the layout changed */
|
/* now check whether the layout changed */
|
||||||
if (layout_changed (range->layout, &layout) ||
|
if (layout_changed (range->layout, &layout) ||
|
||||||
(GTK_IS_SCALE (range) && GTK_SCALE (range)->draw_value))
|
(GTK_IS_SCALE (range) && gtk_scale_get_draw_value (GTK_SCALE (range))))
|
||||||
{
|
{
|
||||||
gtk_widget_queue_draw (GTK_WIDGET (range));
|
gtk_widget_queue_draw (GTK_WIDGET (range));
|
||||||
/* setup a timer to ensure the range isn't lagging too much behind the scroll position */
|
/* setup a timer to ensure the range isn't lagging too much behind the scroll position */
|
||||||
|
Loading…
Reference in New Issue
Block a user