[gtk+/wip/baedert/drawing: 232/348] 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: 232/348] widget: Avoid some type checks in snapshot_child
- Date: Sat, 8 Jul 2017 10:50:19 +0000 (UTC)
commit d21d63d83e35af662777bcea9a74f7d8560cc57e
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 b8aa3d7..a454702 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15783,7 +15783,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]