* src/common/hooks.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 30 Jul 2003 15:16:18 +0000 (15:16 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 30 Jul 2003 15:16:18 +0000 (15:16 +0000)
parameter 2 of g_hook_destroy() should really be a hook id

ChangeLog.claws
configure.ac
src/common/hooks.c

index ebba291..09de043 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-30 [alfons]    0.9.3claws81
+
+       * src/common/hooks.c
+               parameter 2 of g_hook_destroy() should really be a hook id
+
 2003-07-30 [alfons]    0.9.3claws80
 
        * src/common/plugin.c
index f7ed927..4af2a45 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=80
+EXTRA_VERSION=81
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 4d0604b..72b420b 100644 (file)
@@ -88,7 +88,7 @@ void hooks_unregister_hook(const gchar *hooklist_name,
 
        debug_print("unregisted hook %d in '%s'\n", hook->hook_id, hooklist_name);
 
-       g_hook_destroy(hooklist, hook);
+       g_hook_destroy(hooklist, hook_id);
 }
 
 struct MarshalData