summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-07-25 00:18:23 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-07-25 22:30:22 +0100
commit8f68c1e6468031d6458ce058c21ace78c9d77a1d (patch)
tree0886f3eedd4ffc81d972ead02a258428eeba596f /gobject
parentaa65fc253751d4bea958c3aeb1a4aa235f0cea0e (diff)
downloadglib-8f68c1e6468031d6458ce058c21ace78c9d77a1d.tar.gz
Rename G_MARKUP_PARSE_FLAGS_NONE
The prefix for GMarkupParseFlags enumeration members is G_MARKUP; this means that G_MARKUP_PARSE_FLAGS_NONE gets split into GLib.MarkupParseFlags.PARSE_FLAGS_NONE by the introspection scanner. The `/*< nick=none >*/` trigraph attribute is a glib-mkenum thing, and does not affect the introspection scanner; it would also only affect the GEnumValue nickname, which is not used by language bindings to resolve the name of the enumeration member. Plus, GMarkupParseFlags does not have a corresponding GType anyway.
Diffstat (limited to 'gobject')
-rw-r--r--gobject/tests/boxed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gobject/tests/boxed.c b/gobject/tests/boxed.c
index dd45a80a3..4d3f4ea6f 100644
--- a/gobject/tests/boxed.c
+++ b/gobject/tests/boxed.c
@@ -560,8 +560,7 @@ test_boxed_markup (void)
g_value_init (&value, G_TYPE_MARKUP_PARSE_CONTEXT);
g_assert (G_VALUE_HOLDS_BOXED (&value));
- c = g_markup_parse_context_new (&parser, G_MARKUP_PARSE_FLAGS_NONE,
- NULL, NULL);
+ c = g_markup_parse_context_new (&parser, G_MARKUP_DEFAULT_FLAGS, NULL, NULL);
g_value_take_boxed (&value, c);
c2 = g_value_get_boxed (&value);