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.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user