[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-58-g90dcbd961

wwp at claws-mail.org wwp at claws-mail.org
Sun Feb 18 16:12:08 UTC 2024


The branch, gtk2 has been updated
       via  90dcbd961bd938079a5c19985b4b284f5d0fd6f9 (commit)
      from  d19ecaf5e48d1ef43cccf84a299a59e977e0fb4e (commit)

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


- Log -----------------------------------------------------------------
commit 90dcbd961bd938079a5c19985b4b284f5d0fd6f9
Author: wwp <subscript at free.fr>
Date:   Sun Feb 18 17:10:52 2024 +0100

    Fix bug 4781, 'use correct prototype for privacy_free_signature_data', patch by Olaf Hering

diff --git a/src/privacy.c b/src/privacy.c
index 56da4ce17..6e08d223b 100644
--- a/src/privacy.c
+++ b/src/privacy.c
@@ -111,10 +111,8 @@ void privacy_free_privacydata(PrivacyData *privacydata)
 	system->free_privacydata(privacydata);
 }
 
-void privacy_free_signature_data(gpointer data)
+void privacy_free_signature_data(SignatureData *sig_data)
 {
-	SignatureData *sig_data = (SignatureData *)data;
-
 	cm_return_if_fail(sig_data != NULL);
 
 	g_free(sig_data->info_short);
diff --git a/src/privacy.h b/src/privacy.h
index 3aafae9ad..10f2a084d 100644
--- a/src/privacy.h
+++ b/src/privacy.h
@@ -54,7 +54,7 @@ void privacy_register_system			(PrivacySystem *system);
 void privacy_unregister_system			(PrivacySystem *system);
 
 void privacy_free_privacydata			(PrivacyData *);
-void privacy_free_signature_data		(gpointer);
+void privacy_free_signature_data		(SignatureData *sig_data);
 void privacy_free_sig_check_task_result	(gpointer);
 
 void privacy_msginfo_get_signed_state		(MsgInfo *, gchar **system);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list