mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
parent
097c9b1798
commit
fc323595ff
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
2
ghook.c
2
ghook.c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user