guint cascade_changed_id;
GtkStyleCascade *cascade;
GtkStyleContext *parent;
- GSList *children;
GtkCssNode *cssnode;
GSList *saved_nodes;
GArray *property_cache;
if (priv->parent)
{
- priv->parent->priv->children = g_slist_remove (priv->parent->priv->children, context);
g_object_unref (priv->parent);
}
}
gtk_style_context_stop_animating (style_context);
- /* children hold a reference to us */
- g_assert (priv->children == NULL);
-
gtk_style_context_clear_parent (style_context);
gtk_style_context_set_cascade (style_context, NULL);
if (parent)
{
- parent->priv->children = g_slist_prepend (parent->priv->children, context);
g_object_ref (parent);
gtk_css_node_set_parent (gtk_style_context_get_root (context),
gtk_style_context_get_root (parent));