diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-11-01 00:53:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-11-01 00:53:15 +0800 |
commit | e89232e97e2e4a1e7e084ea32f9a078754e8ebfc (patch) | |
tree | 28715a0f90513c7e9149a86fb2da9f18ac131060 /calendar/gui/itip-utils.c | |
parent | 78fd379aa7c17c60c4b5fc07e5243b32ec4a2639 (diff) | |
download | gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar.gz gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar.bz2 gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar.lz gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar.xz gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.tar.zst gsoc2013-evolution-e89232e97e2e4a1e7e084ea32f9a078754e8ebfc.zip |
Get composer integration working with the rest of the modules, but man do
we have circular dependencies all over the place! Big house of cards.
svn path=/branches/kill-bonobo/; revision=36706
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index eb407a8117..5a954b5ff9 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -1098,7 +1098,6 @@ append_cal_attachments (EMsgComposer *composer, ECalComponent *comp, GSList *attach_list) { -#if 0 /* KILL-BONOBO */ struct CalMimeAttach *mime_attach; GSList *l; @@ -1131,14 +1130,12 @@ append_cal_attachments (EMsgComposer *composer, g_free (mime_attach->description); g_free (mime_attach->encoded_data); } -#endif } gboolean itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, ECal *client, icalcomponent *zones, GSList *attachments_list, GList *users) { -#if 0 /* KILL-BONOBO */ EMsgComposer *composer; EComposerHeaderTable *table; EDestination **destinations; @@ -1186,11 +1183,9 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, table = e_msg_composer_get_header_table (composer); em_composer_utils_setup_default_callbacks (composer); -#if 0 /* KILL-BONOBO */ e_composer_header_table_set_subject (table, subject); e_composer_header_table_set_account_name (table, from); e_composer_header_table_set_destinations_to (table, destinations); -#endif e_destination_freev (destinations); @@ -1212,7 +1207,7 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, description = comp_description (comp); body = camel_text_to_html ( - body, CAMEL_MIME_FILTER_TOHTML_PRE, 0); + description, CAMEL_MIME_FILTER_TOHTML_PRE, 0); e_msg_composer_set_body_text (composer, body, -1); g_free (body); @@ -1257,9 +1252,6 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, g_free (ical_string); return retval; -#endif - - return FALSE; } gboolean @@ -1270,7 +1262,6 @@ reply_to_calendar_comp (ECalComponentItipMethod method, icalcomponent *zones, GSList *attachments_list) { -#if 0 /* KILL-BONOBO */ EMsgComposer *composer; EComposerHeaderTable *table; EDestination **destinations; @@ -1300,11 +1291,9 @@ reply_to_calendar_comp (ECalComponentItipMethod method, table = e_msg_composer_get_header_table (composer); em_composer_utils_setup_default_callbacks (composer); -#if 0 /* KILL-BONOBO */ e_composer_header_table_set_subject (table, subject); e_composer_header_table_set_account_name (table, from); e_composer_header_table_set_destinations_to (table, destinations); -#endif e_destination_freev (destinations); @@ -1427,9 +1416,6 @@ reply_to_calendar_comp (ECalComponentItipMethod method, g_free (subject); g_free (ical_string); return retval; -#endif - - return FALSE; } gboolean |