summaryrefslogtreecommitdiff
path: root/gtk/gtkconstraintlayout.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-07-01 00:47:44 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-07-01 00:48:48 +0100
commitd45a662679d0a1c83dfb4fd238de81ca2fafdd20 (patch)
tree59fa88c4606cb94128a538e8a8d4e5c19a93dcad /gtk/gtkconstraintlayout.c
parent514de0b91a34e90166a2f4a35ff29a0558590f1d (diff)
downloadgtk+-d45a662679d0a1c83dfb4fd238de81ca2fafdd20.tar.gz
Move the VFL error domain to a public header
Since the public API will use it to fill out GErrors, it needs to be publicly available.
Diffstat (limited to 'gtk/gtkconstraintlayout.c')
-rw-r--r--gtk/gtkconstraintlayout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkconstraintlayout.c b/gtk/gtkconstraintlayout.c
index 658298d35e..aacc55dcde 100644
--- a/gtk/gtkconstraintlayout.c
+++ b/gtk/gtkconstraintlayout.c
@@ -1214,6 +1214,12 @@ attribute_from_name (const char *name)
return GTK_CONSTRAINT_ATTRIBUTE_NONE;
}
+GQuark
+gtk_constraint_vfl_parser_error_quark (void)
+{
+ return g_quark_from_static_string ("gtk-constraint-vfl-parser-error-quark");
+}
+
/**
* gtk_constraint_layout_add_constraints_from_descriptionv: (rename-to gtk_constraint_layout_add_constraints_from_description)
* @layout: a #GtkConstraintLayout