diff --git a/ChangeLog b/ChangeLog index a1cc266bd..13820cf59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a1cc266bd..13820cf59 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-08-07 Matthias Clasen + + * 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 * glib/gthread.c: Set the normal PID surrogate priority according diff --git a/glib/gmarkup.c b/glib/gmarkup.c index f0ff3d457..52707f53d 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -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;