diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-11-02 07:04:38 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-11-02 07:04:38 +0000 |
commit | 840114ac762ef121aa1aac01d7bee92638ec2655 (patch) | |
tree | 634da7468e6ae71b2e2d1f5d25e14ae29b1b0af8 /ghook.c | |
parent | 7e046917266805e0ddeb60f07b98ea82d9e8c1ac (diff) |
glib.h endian macros defined using the glibconfig.h mechanism now
* glib.h
* configure.in: endian macros defined using the glibconfig.h mechanism now
* ghook.c: casts for GHookFunc and GHookCheckFunc to avoid warnings
-Yosh
Diffstat (limited to 'ghook.c')
-rw-r--r-- | ghook.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -273,7 +273,7 @@ g_hook_list_invoke (GHookList *hook_list, gboolean was_in_call; g_hook_ref (hook_list, hook); - func = hook->func; + func = (GHookFunc) hook->func; was_in_call = G_HOOK_IN_CALL (hook); hook->flags |= G_HOOK_FLAG_IN_CALL; @@ -306,7 +306,7 @@ g_hook_list_invoke_check (GHookList *hook_list, gboolean need_destroy; g_hook_ref (hook_list, hook); - func = hook->func; + func = (GHookCheckFunc) hook->func; was_in_call = G_HOOK_IN_CALL (hook); hook->flags |= G_HOOK_FLAG_IN_CALL; |