mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
picture: Setting keep-aspect-ratio requires a redraw
This commit is contained in:
parent
5995e89a80
commit
d3347e64ba
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user