[gtk+/wip/baedert/drawing: 261/262] widget: Avoid some type checks in snapshot_child



commit b1e52391cbef09f6770b9196709eff39985803f6
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 4d5a2b0..99fcdd0 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15774,7 +15774,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]