picture: Setting keep-aspect-ratio requires a redraw

This commit is contained in:
Marco Melorio 2021-11-18 02:39:15 +01:00
parent 5995e89a80
commit d3347e64ba

View File

@ -839,6 +839,9 @@ gtk_picture_set_keep_aspect_ratio (GtkPicture *self,
return;
self->keep_aspect_ratio = keep_aspect_ratio;
gtk_widget_queue_draw (GTK_WIDGET (self));
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_KEEP_ASPECT_RATIO]);
}