[gtk+/wip/baedert/drawing: 258/306] widget: Avoid some type checks in snapshot_child
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 258/306] widget: Avoid some type checks in snapshot_child
- Date: Fri, 23 Jun 2017 20:18:37 +0000 (UTC)
commit 2b307fdb7765e3f121fe20f0ef06841dca44adc5
Author: Timm Bäder <mail baedert org>
Date: Tue Jun 6 11:00:46 2017 +0200
widget: Avoid some type checks in snapshot_child
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 93a0f57..0e67b66 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15775,7 +15775,7 @@ gtk_widget_snapshot_child (GtkWidget *widget,
g_return_if_fail (_gtk_widget_get_parent (child) == widget);
g_return_if_fail (snapshot != NULL);
- gtk_widget_get_allocation (child, &content_allocation);
+ _gtk_widget_get_allocation (child, &content_allocation);
x = content_allocation.x;
y = content_allocation.y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]