void _gtk_icon_helper_set_icon_set (GtkIconHelper *self, GtkIconSet *icon_set, GtkIconSize icon_size) { _gtk_icon_helper_clear (self); if (icon_set != NULL) { self->priv->storage_type = GTK_IMAGE_ICON_SET; self->priv->icon_set = gtk_icon_set_ref (icon_set); _gtk_icon_helper_set_icon_size (self, icon_size); } }
void _gtk_icon_helper_set_icon_set (GtkIconHelper *self, GtkIconSet *icon_set, GtkIconSize icon_size) { _gtk_icon_helper_clear (self); if (icon_set != NULL) { self->priv->storage_type = GTK_IMAGE_ICON_SET; G_GNUC_BEGIN_IGNORE_DEPRECATIONS; self->priv->icon_set = gtk_icon_set_ref (icon_set); G_GNUC_END_IGNORE_DEPRECATIONS; _gtk_icon_helper_set_icon_size (self, icon_size); } }