summaryrefslogtreecommitdiff
path: root/ghook.c
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-11-02 07:04:38 +0000
committerManish Singh <yosh@src.gnome.org>1998-11-02 07:04:38 +0000
commit840114ac762ef121aa1aac01d7bee92638ec2655 (patch)
tree634da7468e6ae71b2e2d1f5d25e14ae29b1b0af8 /ghook.c
parent7e046917266805e0ddeb60f07b98ea82d9e8c1ac (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghook.c b/ghook.c
index 91ab097ac..2e231eab1 100644
--- a/ghook.c
+++ b/ghook.c
@@ -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;