summaryrefslogtreecommitdiff
path: root/gtk/gtkconstraintvflparser.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/gtkconstraintvflparser.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/gtkconstraintvflparser.c')
-rw-r--r--gtk/gtkconstraintvflparser.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkconstraintvflparser.c b/gtk/gtkconstraintvflparser.c
index 0d46784991..79be0b0037 100644
--- a/gtk/gtkconstraintvflparser.c
+++ b/gtk/gtkconstraintvflparser.c
@@ -22,6 +22,7 @@
#include "config.h"
#include "gtkconstraintvflparserprivate.h"
+#include "gtkenums.h"
#include <string.h>
@@ -101,11 +102,11 @@ struct _GtkConstraintVflParser
VflView *views;
};
-GQuark
-gtk_constraint_vfl_parser_error_quark (void)
-{
- return g_quark_from_static_string ("gtk-constraint-vfl-parser-error-quark");
-}
+/* NOTE: These two symbols are defined in gtkconstraintlayout.h, but we
+ * cannot include that header here
+ */
+#define GTK_CONSTRAINT_VFL_PARSER_ERROR (gtk_constraint_vfl_parser_error_quark ())
+GQuark gtk_constraint_vfl_parser_error_quark (void);
GtkConstraintVflParser *
gtk_constraint_vfl_parser_new (void)