[gtk+/wip/baedert/drawing: 36/50] 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: 36/50] widget: Avoid some type checks in snapshot_child
- Date: Fri, 16 Jun 2017 14:19:27 +0000 (UTC)
commit b9f7cf6053a862d37d69b4299e41784b93293bf3
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]