button: 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:38:39 +02:00
parent 71fe1a5fe3
commit 3914bc9ce6

View File

@ -2250,10 +2250,7 @@ gtk_button_get_size (GtkWidget *widget,
natural += child_nat; natural += child_nat;
} }
if (minimum_size)
*minimum_size = minimum; *minimum_size = minimum;
if (natural_size)
*natural_size = natural; *natural_size = natural;
} }