talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

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

finally, use the proper name for the hooks

Diffstat:
Msrc/common/hooks.c | 4++--
Msrc/common/hooks.h | 6+++---
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 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 @@ -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);