Use g_return_val_if_fail instead of g_return_if_fail, as the function now

2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gstring.c (g_string_free): Use g_return_val_if_fail instead of
	g_return_if_fail, as the function now is supposed to return
	something.
This commit is contained in:
Sebastian Wilhelmi 2000-09-01 13:45:43 +00:00 committed by Sebastian Wilhelmi
parent 4d1cb41ef9
commit fab90158aa
10 changed files with 34 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -1,5 +1,9 @@
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
g_return_if_fail, as the function now is supposed to return
something.
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.

View File

@ -257,7 +257,7 @@ g_string_free (GString *string,
{
gchar *segment;
g_return_if_fail (string != NULL);
g_return_val_if_fail (string != NULL, NULL);
if (free_segment)
{

View File

@ -257,7 +257,7 @@ g_string_free (GString *string,
{
gchar *segment;
g_return_if_fail (string != NULL);
g_return_val_if_fail (string != NULL, NULL);
if (free_segment)
{