Commit f66ebd8e authored by Javier Jardón's avatar Javier Jardón

GtkIconTheme: unseal private pointer

parent e1d182ce
......@@ -557,9 +557,10 @@ gtk_icon_theme_init (GtkIconTheme *icon_theme)
GtkIconThemePrivate *priv;
const gchar * const *xdg_data_dirs;
int i, j;
priv = g_type_instance_get_private ((GTypeInstance *)icon_theme,
GTK_TYPE_ICON_THEME);
priv = G_TYPE_INSTANCE_GET_PRIVATE (icon_theme,
GTK_TYPE_ICON_THEME,
GtkIconThemePrivate);
icon_theme->priv = priv;
priv->custom_theme = FALSE;
......
......@@ -49,7 +49,7 @@ struct _GtkIconTheme
/*< private >*/
GObject parent_instance;
GtkIconThemePrivate *GSEAL (priv);
GtkIconThemePrivate *priv;
};
struct _GtkIconThemeClass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment