forked from AuroraMiddleware/gtk
label: minimum/natural size parameters are not nullable
Stop comparing them to NULL.
This commit is contained in:
parent
e75894da13
commit
4ae6f10ae9
@ -3641,10 +3641,7 @@ 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;
|
||||
|
||||
if (minimum_baseline || natural_baseline)
|
||||
|
Loading…
Reference in New Issue
Block a user