label: minimum/natural size parameters are not nullable

Stop comparing them to NULL.
This commit is contained in:
Timm Bäder 2016-05-03 16:07:50 -04:00 committed by Matthias Clasen
parent e75894da13
commit 4ae6f10ae9

View File

@ -3641,11 +3641,8 @@ get_size_for_allocation (GtkLabel *label,
pango_layout_get_pixel_size (layout, NULL, &text_height);
if (minimum_size)
*minimum_size = text_height;
if (natural_size)
*natural_size = text_height;
*minimum_size = text_height;
*natural_size = text_height;
if (minimum_baseline || natural_baseline)
{