diff options
author | Milan Crha <mcrha@redhat.com> | 2011-11-25 23:45:28 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-11-25 23:45:28 +0800 |
commit | 30717998cac73c0a2199e7b96fa2399113decd4a (patch) | |
tree | caaac62f7beafa6e71f2fd8cb0da9cbeddb284ea /plugins/itip-formatter/itip-formatter.c | |
parent | 993d4910c16bc1f8cf1d0b2ad69f8b4ea324f7f7 (diff) | |
download | gsoc2013-evolution-30717998cac73c0a2199e7b96fa2399113decd4a.tar.gz gsoc2013-evolution-30717998cac73c0a2199e7b96fa2399113decd4a.tar.zst gsoc2013-evolution-30717998cac73c0a2199e7b96fa2399113decd4a.zip |
Bug #580394 - Comment field in a meeting request is too small
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 7a66508500..916a853652 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -726,7 +726,7 @@ decrease_find_data (FormatItipFindData *fd) * * invitiations (REQUEST), but not replies (REPLY). * Replies only make sense for events with an organizer. */ - if (pitip->current_client && !e_cal_client_check_save_schedules (pitip->current_client) && + if ((!pitip->current_client || !e_cal_client_check_save_schedules (pitip->current_client)) && (pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) && pitip->has_organizer) { rsvp_enabled = TRUE; @@ -1376,7 +1376,8 @@ finish_message_delete_with_rsvp (struct _itip_puri *pitip, icalcomponent *ical_comp; icalproperty *prop; icalvalue *value; - const gchar *attendee, *comment; + const gchar *attendee; + gchar *comment; GSList *l, *list = NULL; gboolean found; @@ -1435,6 +1436,8 @@ finish_message_delete_with_rsvp (struct _itip_puri *pitip, comments.next = NULL; e_cal_component_set_comment_list (comp, &comments); + + g_free (comment); } e_cal_component_rescan (comp); |