diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c index 68c063dc7..13d8e22cf 100644 --- a/glib/gvariant-parser.c +++ b/glib/gvariant-parser.c @@ -1218,7 +1218,7 @@ dictionary_get_value (AST *ast, if (!(subvalue = ast_get_value (dict->keys[0], subtype, error))) { g_variant_builder_clear (&builder); - return FALSE; + return NULL; } g_variant_builder_add_value (&builder, subvalue); @@ -1226,7 +1226,7 @@ dictionary_get_value (AST *ast, if (!(subvalue = ast_get_value (dict->values[0], subtype, error))) { g_variant_builder_clear (&builder); - return FALSE; + return NULL; } g_variant_builder_add_value (&builder, subvalue); @@ -1256,14 +1256,14 @@ dictionary_get_value (AST *ast, if (!(subvalue = ast_get_value (dict->keys[i], key, error))) { g_variant_builder_clear (&builder); - return FALSE; + return NULL; } g_variant_builder_add_value (&builder, subvalue); if (!(subvalue = ast_get_value (dict->values[i], val, error))) { g_variant_builder_clear (&builder); - return FALSE; + return NULL; } g_variant_builder_add_value (&builder, subvalue); g_variant_builder_close (&builder); diff --git a/glib/tests/markup-subparser.c b/glib/tests/markup-subparser.c index 0b3c746d2..b766ddf13 100644 --- a/glib/tests/markup-subparser.c +++ b/glib/tests/markup-subparser.c @@ -149,7 +149,7 @@ replay_parser_end (GMarkupParseContext *ctx, g_string_free (string, TRUE); strings_allocated--; - return FALSE; + return NULL; } result = string->str;