diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-06 19:58:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-07 02:40:22 -0400 |
commit | 0f92a43e106d31eddce63dcdf6519479361fff13 (patch) | |
tree | ebde10851131a3c8d01e460c8eaf1e7af9f6d981 /gtk/gtkcsswidgetnode.c | |
parent | 7da1f8a1ce145f48b6299fd8be86a64389ff0b0d (diff) | |
download | gtk+-0f92a43e106d31eddce63dcdf6519479361fff13.tar.gz |
Move GtkWidgetPrivate to gtkwidgetprivate.h
This lets us use inlined getters for members in there,
avoiding the type checks in the public getters.
Diffstat (limited to 'gtk/gtkcsswidgetnode.c')
-rw-r--r-- | gtk/gtkcsswidgetnode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcsswidgetnode.c b/gtk/gtkcsswidgetnode.c index f579c12353..cf68fb4e59 100644 --- a/gtk/gtkcsswidgetnode.c +++ b/gtk/gtkcsswidgetnode.c @@ -165,7 +165,7 @@ widget_needs_widget_path (GtkWidget *widget) g_assert (i == G_N_ELEMENTS (funcs)); } - parent = gtk_widget_get_parent (widget); + parent = _gtk_widget_get_parent (widget); if (parent == NULL) return FALSE; @@ -302,7 +302,7 @@ gtk_css_widget_node_new (GtkWidget *widget) result = g_object_new (GTK_TYPE_CSS_WIDGET_NODE, NULL); result->widget = widget; gtk_css_node_set_visible (GTK_CSS_NODE (result), - gtk_widget_get_visible (widget)); + _gtk_widget_get_visible (widget)); return GTK_CSS_NODE (result); } |