GtkImage: Fix the initial value of icon-size

Since we are pulling the icon-size out of the icon helper now,
we should set its icon-size when constructing it.
This commit is contained in:
Matthias Clasen 2013-06-15 20:22:18 -04:00
parent fdb983f67e
commit c9ec4ba5a1

View File

@ -380,6 +380,7 @@ gtk_image_init (GtkImage *image)
gtk_widget_set_has_window (GTK_WIDGET (image), FALSE);
priv->icon_helper = _gtk_icon_helper_new ();
_gtk_icon_helper_set_icon_size (priv->icon_helper, DEFAULT_ICON_SIZE);
priv->filename = NULL;
}