forked from AuroraMiddleware/gtk
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:
parent
fdb983f67e
commit
c9ec4ba5a1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user