mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-17 19:02:52 +02:00
Use g_return_val_if_fail, no g_return_if_fail.
* glib/gmarkup.c (g_markup_parse_context_get_element): Use g_return_val_if_fail, no g_return_if_fail.
This commit is contained in:
@@ -1715,7 +1715,7 @@ g_markup_parse_context_end_parse (GMarkupParseContext *context,
|
||||
G_CONST_RETURN gchar *
|
||||
g_markup_parse_context_get_element (GMarkupParseContext *context)
|
||||
{
|
||||
g_return_if_fail (context != NULL);
|
||||
g_return_val_if_fail (context != NULL, NULL);
|
||||
|
||||
if (context->tag_stack == NULL)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user