diff options
author | Tim Janik <timj@gtk.org> | 1998-12-22 10:09:28 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-12-22 10:09:28 +0000 |
commit | fc323595ff1b74b70eb592febf248964a586a9e8 (patch) | |
tree | 626edc11aa79e53d25248d9fbd7857076c863b6d /ghook.c | |
parent | 097c9b17985efe03bf7d5a1b073d81f526218c87 (diff) | |
download | glib-fc323595ff1b74b70eb592febf248964a586a9e8.tar.gz |
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.
Diffstat (limited to 'ghook.c')
-rw-r--r-- | ghook.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |