Fix FALSE/NULL confusion. (#107646, Morten Welinder)

2003-03-06  Matthias Clasen  <maclas@gmx.de>

	* glib/gmain.c (g_main_context_find_source_by_id):
	(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
	confusion.  (#107646, Morten Welinder)
This commit is contained in:
Matthias Clasen 2003-03-06 22:41:03 +00:00 committed by Matthias Clasen
parent c4391cbf37
commit ea9a7199a1
7 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1,3 +1,9 @@
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and

View File

@ -1367,7 +1367,7 @@ g_main_context_find_source_by_id (GMainContext *context,
{
GSource *source;
g_return_val_if_fail (source_id > 0, FALSE);
g_return_val_if_fail (source_id > 0, NULL);
if (context == NULL)
context = g_main_context_default ();
@ -1407,7 +1407,7 @@ g_main_context_find_source_by_funcs_user_data (GMainContext *context,
{
GSource *source;
g_return_val_if_fail (funcs != NULL, FALSE);
g_return_val_if_fail (funcs != NULL, NULL);
if (context == NULL)
context = g_main_context_default ();