Fix return type for vcal_manager_get_cutype_for_attendee()
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 3 Jan 2019 18:48:58 +0000 (19:48 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 3 Jan 2019 18:48:58 +0000 (19:48 +0100)
Patch by Avinash Sonawane, bug #4037.

src/plugins/vcalendar/vcal_manager.c
src/plugins/vcalendar/vcal_manager.h

index d2e8dae3364d796af61a91656cb7890c1e2e614e..a6c84f7b636159f06220941dceb6bbfa31235ed4 100644 (file)
@@ -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);
index ef791ea82574c8d18806e676b9719e8e9b1315d4..c63a8672e82032ae57ce4a39a53416d7d8f78a4c 100644 (file)
@@ -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