[Commits] [SCM] claws branch, master, updated. 4.2.0-100-g49c041d81

paul at claws-mail.org paul at claws-mail.org
Thu May 16 17:20:00 UTC 2024


The branch, master has been updated
       via  49c041d813fa0d1e02d52c20f8fa22c2fa2e7454 (commit)
      from  c3919dc2650d8840f11ec0a0cd58c8729444792a (commit)

Summary of changes:
 src/common/hooks.c | 4 ++--
 src/common/hooks.h | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 49c041d813fa0d1e02d52c20f8fa22c2fa2e7454
Author: Paul <paul at claws-mail.org>
Date:   Thu May 16 18:19:56 2024 +0100

    finally, use the proper name for the hooks

diff --git a/src/common/hooks.c b/src/common/hooks.c
index b374652c5..33172c9c6 100644
--- a/src/common/hooks.c
+++ b/src/common/hooks.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2016 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2024 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -47,7 +47,7 @@ static GHookList *hooks_get_hooklist(const gchar *hooklist_name)
 }
 
 gulong hooks_register_hook(const gchar *hooklist_name,
-			  SylpheedHookFunction hook_func,
+			  ClawsMailHookFunction hook_func,
 			  gpointer userdata)
 {
 	GHookList *hooklist;
diff --git a/src/common/hooks.h b/src/common/hooks.h
index f130a6b26..3309d5c97 100644
--- a/src/common/hooks.h
+++ b/src/common/hooks.h
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2024 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -24,11 +24,11 @@
 
 #define HOOK_NONE 0
 
-typedef gboolean (*SylpheedHookFunction)	(gpointer source,
+typedef gboolean (*ClawsMailHookFunction)	(gpointer source,
 						 gpointer userdata);
 
 gulong hooks_register_hook	(const gchar		*hooklist_name,
-				 SylpheedHookFunction	 hook_func,
+				 ClawsMailHookFunction	 hook_func,
 				 gpointer		 userdata);
 void hooks_unregister_hook	(const gchar		*hooklist_name,
 				 gulong			 hook_id);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list