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:
Matthias Clasen 2002-08-07 22:15:43 +00:00
parent 659fd4113b
commit e7d3a38f48
8 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1,3 +1,8 @@
2002-08-07 Matthias Clasen <maclas@gmx.de>
* glib/gmarkup.c (g_markup_parse_context_get_element):
Use g_return_val_if_fail, no g_return_if_fail.
2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2002-08-06 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.c: Set the normal PID surrogate priority according * glib/gthread.c: Set the normal PID surrogate priority according

View File

@ -1715,7 +1715,7 @@ g_markup_parse_context_end_parse (GMarkupParseContext *context,
G_CONST_RETURN gchar * G_CONST_RETURN gchar *
g_markup_parse_context_get_element (GMarkupParseContext *context) 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) if (context->tag_stack == NULL)
return NULL; return NULL;