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:
Benjamin Otte 2014-04-30 08:37:52 +02:00
parent e6b15c88ca
commit 71fe1a5fe3

View File

@ -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