Commit a46368de authored by Stefano Facchini's avatar Stefano Facchini

sizerequest: do not derefence NULL pointers

parent 1beb9db7
......@@ -528,8 +528,11 @@ _gtk_widget_compute_size_for_orientation (GtkWidget *widget,
g_hash_table_destroy (widgets);
*minimum = min_result;
*natural = nat_result;
if (minimum)
*minimum = min_result;
if (natural)
*natural = nat_result;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment