forked from AuroraMiddleware/gtk
alignment: Remove unneeded checks
Size vfuncs always get non-null out variables passed, so no need to check for NULL.
This commit is contained in:
parent
e6b15c88ca
commit
71fe1a5fe3
@ -679,11 +679,8 @@ gtk_alignment_get_preferred_size (GtkWidget *widget,
|
|||||||
natural += child_nat;
|
natural += child_nat;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minimum_size)
|
*minimum_size = minimum;
|
||||||
*minimum_size = minimum;
|
*natural_size = natural;
|
||||||
|
|
||||||
if (natural_size)
|
|
||||||
*natural_size = natural;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user