[gtk+/wip/baedert/drawing: 189/306] 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: 189/306] range: Return trough allocation from _get_range_rect
- Date: Fri, 23 Jun 2017 20:12:48 +0000 (UTC)
commit a84505d3395fb1f31f5c85548e795e33771c404c
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]