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:
Cosimo Cecchi 2011-11-30 18:15:05 -05:00
parent 5224302a30
commit e37c55aa3e

View File

@ -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;
}