sizerequest: do not derefence NULL pointers
This commit is contained in:
@ -528,7 +528,10 @@ _gtk_widget_compute_size_for_orientation (GtkWidget *widget,
|
|||||||
|
|
||||||
g_hash_table_destroy (widgets);
|
g_hash_table_destroy (widgets);
|
||||||
|
|
||||||
|
if (minimum)
|
||||||
*minimum = min_result;
|
*minimum = min_result;
|
||||||
|
|
||||||
|
if (natural)
|
||||||
*natural = nat_result;
|
*natural = nat_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user