mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
GtkIconTheme: unseal private pointer
This commit is contained in:
parent
e1d182ce5c
commit
f66ebd8e59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user