[Commits] [SCM] claws branch, master, updated. 3.17.3-28-gd42cdc0

ticho at claws-mail.org ticho at claws-mail.org
Thu Jan 3 19:58:41 CET 2019


The branch, master has been updated
       via  d42cdc00af96f0ba034e6e205216cf4e3c1c7540 (commit)
      from  9515e440dd330e793570bb32caae7071759a034d (commit)

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


- Log -----------------------------------------------------------------
commit d42cdc00af96f0ba034e6e205216cf4e3c1c7540
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Jan 3 19:48:58 2019 +0100

    Fix return type for vcal_manager_get_cutype_for_attendee()
    
    Patch by Avinash Sonawane, bug #4037.

diff --git a/src/plugins/vcalendar/vcal_manager.c b/src/plugins/vcalendar/vcal_manager.c
index d2e8dae..a6c84f7 100644
--- a/src/plugins/vcalendar/vcal_manager.c
+++ b/src/plugins/vcalendar/vcal_manager.c
@@ -221,7 +221,7 @@ gchar *vcal_manager_get_cutype_text_for_attendee(VCalEvent *event, const gchar *
 	return res;
 }
 
-icalparameter_partstat vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att)
+icalparameter_cutype vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att)
 {
 	Answer *a = answer_new(att, NULL, 0, 0);
 	GSList *ans = answer_find(event, a);
diff --git a/src/plugins/vcalendar/vcal_manager.h b/src/plugins/vcalendar/vcal_manager.h
index ef791ea..c63a867 100644
--- a/src/plugins/vcalendar/vcal_manager.h
+++ b/src/plugins/vcalendar/vcal_manager.h
@@ -106,7 +106,7 @@ gchar *vcal_manager_get_attendee_name(VCalEvent *event, const gchar *attendee);
 gchar *vcal_manager_get_reply_text_for_attendee(VCalEvent *event, const gchar *att);
 gchar *vcal_manager_get_cutype_text_for_attendee(VCalEvent *event, const gchar *att);
 enum icalparameter_partstat vcal_manager_get_reply_for_attendee(VCalEvent *event, const gchar *att);
-enum icalparameter_partstat vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att);
+enum icalparameter_cutype vcal_manager_get_cutype_for_attendee(VCalEvent *event, const gchar *att);
 gchar *vcal_manager_get_event_path(void);
 gchar *vcal_manager_get_event_file(const gchar *uid);
 gchar *vcal_manager_event_dump(VCalEvent *event, gboolean change_date, gboolean

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list