Commit 46decc61 authored by Timm Bäder's avatar Timm Bäder 👎 Committed by Daniel Boles

grid: Remove unnecessary NULL checks

The minimum and natural pointers passed to measure are never NULL and
that's the only place where we call gtk_grid_get_size_for_size.
parent 7adc38a6
......@@ -1455,11 +1455,8 @@ gtk_grid_get_size_for_size (GtkGrid *grid,
GtkGridLines *lines;
gint min_size, nat_size;
if (minimum)
*minimum = 0;
if (natural)
*natural = 0;
*minimum = 0;
*natural = 0;
if (minimum_baseline)
*minimum_baseline = -1;
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