[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-403-gddbb7286e

wwp at claws-mail.org wwp at claws-mail.org
Fri Jan 21 10:09:44 CET 2022


The branch, gtk3 has been updated
       via  ddbb7286e39cdb6fb2ea61606520862840d00cf2 (commit)
      from  84455a6c078eec07c3c5b937c0636be65a8d11d6 (commit)

Summary of changes:
 src/plugins/vcalendar/vcalendar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit ddbb7286e39cdb6fb2ea61606520862840d00cf2
Author: wwp <subscript at free.fr>
Date:   Fri Jan 21 10:09:04 2022 +0100

    Fix wrong call to g_return_val_if_fail in a func w/ no expected return value.

diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c
index 280a2054e..0dbd6d028 100644
--- a/src/plugins/vcalendar/vcalendar.c
+++ b/src/plugins/vcalendar/vcalendar.c
@@ -923,7 +923,7 @@ static gboolean vcalviewer_uribtn_cb(GtkButton *widget, gpointer data)
 
 void vcalendar_refresh_folder_contents(FolderItem *item)
 {
-	g_return_val_if_fail(item != NULL, NULL);
+	g_return_if_fail(item != NULL);
 
 	Folder *folder = folder_find_from_name (PLUGIN_NAME, vcal_folder_get_class());
 	if (folder && item->folder == folder) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list