Commit 66c0673a authored by Javier Jardón's avatar Javier Jardón
Browse files

GtkTreeModelFilter: unseal private pointer

parent aedc5e96
......@@ -76,7 +76,6 @@ struct _FilterLevel
FilterLevel *parent_level;
};
#define GTK_TREE_MODEL_FILTER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterPrivate))
struct _GtkTreeModelFilterPrivate
{
......@@ -296,7 +295,9 @@ G_DEFINE_TYPE_WITH_CODE (GtkTreeModelFilter, gtk_tree_model_filter, G_TYPE_OBJEC
static void
gtk_tree_model_filter_init (GtkTreeModelFilter *filter)
{
filter->priv = GTK_TREE_MODEL_FILTER_GET_PRIVATE (filter);
filter->priv = G_TYPE_INSTANCE_GET_PRIVATE (filter,
GTK_TYPE_TREE_MODEL_FILTER,
GtkTreeModelFilterPrivate);
filter->priv->visible_column = -1;
filter->priv->zero_ref_count = 0;
......
......@@ -55,7 +55,7 @@ struct _GtkTreeModelFilter
GObject parent;
/*< private >*/
GtkTreeModelFilterPrivate *GSEAL (priv);
GtkTreeModelFilterPrivate *priv;
};
struct _GtkTreeModelFilterClass
......
Supports Markdown
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