mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
picture: Queue a redraw when not resizing
When changing the code to do the resize only when the size changed, I
forgot to queue a draw when the size did not change.
Fixes: 5031f30f28
Related: !7786
This commit is contained in:
parent
b277d9a555
commit
d1725291a1
@ -875,6 +875,8 @@ gtk_picture_set_paintable (GtkPicture *self,
|
||||
|
||||
if (size_changed)
|
||||
gtk_widget_queue_resize (GTK_WIDGET (self));
|
||||
else
|
||||
gtk_widget_queue_draw (GTK_WIDGET (self));
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_PAINTABLE]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user