mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 08:30:09 +00:00
icon-helper: don't reset pixel_size when clearing the helper
Don't reset the pixel size when clearing the helper; pixel-size is e.g a property of GtkImage, which is stable unless explicitly set.
This commit is contained in:
parent
5224302a30
commit
e37c55aa3e
@ -66,7 +66,6 @@ _gtk_icon_helper_clear (GtkIconHelper *self)
|
||||
|
||||
self->priv->storage_type = GTK_IMAGE_EMPTY;
|
||||
self->priv->icon_size = GTK_ICON_SIZE_INVALID;
|
||||
self->priv->pixel_size = -1;
|
||||
self->priv->last_rendered_state = GTK_STATE_FLAG_NORMAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user