summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelper.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-11-30 18:15:05 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-11-30 18:15:05 -0500
commite37c55aa3eeeec6860de01e937b332697eecc529 (patch)
tree50396ac000fe5e77f16311419ab63cec317efa75 /gtk/gtkiconhelper.c
parent5224302a30428ad64f6c819791dd6021a850aeca (diff)
downloadgtk+-e37c55aa3eeeec6860de01e937b332697eecc529.tar.gz
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.
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r--gtk/gtkiconhelper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c
index 081e619fcd..46724f9197 100644
--- a/gtk/gtkiconhelper.c
+++ b/gtk/gtkiconhelper.c
@@ -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;
}