From 4eba9442df8f5a78046ce7282602456b22fe0aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 30 Jun 2017 13:21:06 +0200 Subject: [PATCH] range: Fix get_range_rect get_own_allocation's position is relative to the given widget's origin, not the parent. --- gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 0a5fbc13bb..839d22c0cd 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -922,7 +922,7 @@ gtk_range_get_range_rect (GtkRange *range, g_return_if_fail (GTK_IS_RANGE (range)); g_return_if_fail (range_rect != NULL); - gtk_widget_get_own_allocation (range->priv->trough_widget, range_rect); + gtk_widget_get_outer_allocation (range->priv->trough_widget, range_rect); } /**