From 360b0751640de32d21147c92ded837c7158f4f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 6 Jun 2017 11:00:46 +0200 Subject: [PATCH] widget: Avoid some type checks in snapshot_child --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index b8aa3d780f..a454702307 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;