picture: Setting can-shrink requires a resize

So queue one.
This commit is contained in:
Benjamin Otte 2021-11-05 20:51:00 +01:00
parent 5c9ae28937
commit c4e5242be0

View File

@ -884,6 +884,9 @@ gtk_picture_set_can_shrink (GtkPicture *self,
return;
self->can_shrink = can_shrink;
gtk_widget_queue_resize (GTK_WIDGET (self));
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_CAN_SHRINK]);
}