fixed buglet that could cause bogus warnings.

Tue Dec 22 10:32:11 1998  Tim Janik  <timj@gtk.org>

        * ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
        warnings.
This commit is contained in:
Tim Janik 1998-12-22 10:09:28 +00:00 committed by Tim Janik
parent 097c9b1798
commit fc323595ff
10 changed files with 42 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -1,3 +1,8 @@
Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
warnings.
Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
* glib.h:

View File

@ -408,9 +408,9 @@ g_hook_first_valid (GHookList *hook_list,
GHook *hook;
hook = hook_list->hooks;
g_hook_ref (hook_list, hook);
if (hook)
{
g_hook_ref (hook_list, hook);
if (G_HOOK_IS_VALID (hook) && (may_be_in_call || !G_HOOK_IN_CALL (hook)))
return hook;
else

View File

@ -408,9 +408,9 @@ g_hook_first_valid (GHookList *hook_list,
GHook *hook;
hook = hook_list->hooks;
g_hook_ref (hook_list, hook);
if (hook)
{
g_hook_ref (hook_list, hook);
if (G_HOOK_IS_VALID (hook) && (may_be_in_call || !G_HOOK_IN_CALL (hook)))
return hook;
else