summaryrefslogtreecommitdiff
path: root/gtk/deprecated
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-12 09:47:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-12 15:35:00 -0400
commitf42fe500c90187afc75cbcdb52eee2f5c720cd1f (patch)
treeba89fac2c9ef818f344bb465c635e59b746e21f0 /gtk/deprecated
parentac3177ce95b270f55e40aaa286817dad2c2562c2 (diff)
downloadgtk+-f42fe500c90187afc75cbcdb52eee2f5c720cd1f.tar.gz
cssnode: Avoid style context api
Duplicate the print flags in gtkcssnodeprivate.h, so we don't rely on gtkstylecontext.h here.
Diffstat (limited to 'gtk/deprecated')
-rw-r--r--gtk/deprecated/gtkstylecontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/deprecated/gtkstylecontext.c b/gtk/deprecated/gtkstylecontext.c
index 72e30e2822..0f399a5a95 100644
--- a/gtk/deprecated/gtkstylecontext.c
+++ b/gtk/deprecated/gtkstylecontext.c
@@ -976,7 +976,7 @@ gtk_style_context_to_string (GtkStyleContext *context,
string = g_string_new ("");
- gtk_css_node_print (priv->cssnode, flags, string, 0);
+ gtk_css_node_print (priv->cssnode, (GtkCssNodePrintFlags)flags, string, 0);
return g_string_free (string, FALSE);
}