mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
iconhelper: reset original pixbuf scale on clear
Avoids a previously set value for a different image to accidentally stick around. https://bugzilla.gnome.org/show_bug.cgi?id=733416
This commit is contained in:
parent
7e425f3019
commit
09a36b1e9f
@ -83,6 +83,7 @@ _gtk_icon_helper_clear (GtkIconHelper *self)
|
||||
self->priv->last_rendered_state = GTK_STATE_FLAG_NORMAL;
|
||||
self->priv->last_surface_state = GTK_STATE_FLAG_NORMAL;
|
||||
self->priv->last_surface_scale = 0;
|
||||
self->priv->orig_pixbuf_scale = 1;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user