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:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user