From c4e5242be0664a5e94a40657c5644cdeadc0097e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 5 Nov 2021 20:51:00 +0100 Subject: [PATCH] picture: Setting can-shrink requires a resize So queue one. --- gtk/gtkpicture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c index 7694888c68..6821ecacfb 100644 --- a/gtk/gtkpicture.c +++ b/gtk/gtkpicture.c @@ -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]); }