[gtk+/wip/baedert/drawing: 179/396] range: Return trough allocation from _get_range_rect
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 179/396] range: Return trough allocation from _get_range_rect
- Date: Wed, 19 Jul 2017 11:25:24 +0000 (UTC)
commit 3e5b9874effa8fc369cb5e6816c61567ac568d89
Author: Timm Bäder <mail baedert org>
Date: Sat May 13 14:36:29 2017 +0200
range: Return trough allocation from _get_range_rect
gtk/gtkrange.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 70c5c76..cfdfce3 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -921,7 +921,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_margin_allocation (GTK_WIDGET (range), range_rect);
+ gtk_widget_get_margin_allocation (GTK_WIDGET (range->priv->trough_widget), range_rect);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]