Commit 88278e84 authored by Timm Bäder's avatar Timm Bäder 👎

compute_bounds: Add preconditions

parent 1f1be208
......@@ -11308,6 +11308,10 @@ gtk_widget_compute_bounds (GtkWidget *widget,
GtkCssStyle *style;
GtkBorder margin, border, padding;
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
g_return_val_if_fail (GTK_IS_WIDGET (target), FALSE);
g_return_val_if_fail (out_bounds != NULL, FALSE);
ancestor = gtk_widget_common_ancestor (widget, target);
if (!ancestor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment