[gtk+/wip/baedert/drawing: 47/130] 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: 47/130] widget: Avoid some type checks in snapshot_child
- Date: Fri, 30 Jun 2017 09:55:19 +0000 (UTC)
commit 7a51b712064ac738ac3f10411062e7ee9066cbe4
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]