* 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 ebba291ed6e4a9336d55b2e54693ae14ddf6467d..09de04398060416442b9aca615236d3a69bf5359 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
 2003-07-30 [alfons]    0.9.3claws80
 
        * src/common/plugin.c
index f7ed927066a899184ee45e0f8bc4ccb98ee705fd..4af2a45427bbb715571c7da23e3f08666ca25af9 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 4d0604b976976bb993b90a71f7cbfdb08524a340..72b420b9161c82593fd28e6b3a8763f21e1d1423 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);
 
 
        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
 }
 
 struct MarshalData