aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-04-17 23:52:41 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-04-17 23:52:41 +0800
commit1c0d5f2c846b7b87aae25305a662f420839d11a6 (patch)
tree02eb348a464c1ab25da1a52c7bcd2643f7186a5e /calendar/gui/itip-utils.c
parent2c4e906e2f15d3894185f69e498ebd7622f992df (diff)
downloadgsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar.gz
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar.bz2
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar.lz
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar.xz
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.tar.zst
gsoc2013-evolution-1c0d5f2c846b7b87aae25305a662f420839d11a6.zip
Fixes #41459
2003-04-17 JP Rosevear <jpr@ximian.com> Fixes #41459 * gui/dialogs/meeting-page.c: comment out delegation stuff svn path=/trunk/; revision=20880
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 0360a3ca85..3e1759b02c 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -839,14 +839,6 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
CORBA_exception_init (&ev);
- /* Obtain an object reference for the Composer. */
- composer_server = bonobo_activation_activate_from_id (GNOME_EVOLUTION_COMPOSER_OAFIID, 0, NULL, &ev);
- if (BONOBO_EX (&ev)) {
- g_warning ("Could not activate composer: %s", bonobo_exception_get_text (&ev));
- CORBA_exception_free (&ev);
- return FALSE;
- }
-
/* Give the server a chance to manipulate the comp */
if (method != CAL_COMPONENT_METHOD_PUBLISH) {
if (!comp_server_send (method, send_comp, client, zones, &users))
@@ -867,7 +859,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
goto cleanup;
}
}
-
+
cc_list = GNOME_Evolution_Composer_RecipientList__alloc ();
cc_list->_maximum = cc_list->_length = 0;
bcc_list = GNOME_Evolution_Composer_RecipientList__alloc ();
@@ -879,6 +871,14 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
/* From address */
from = comp_from (method, comp);
+ /* Obtain an object reference for the Composer. */
+ composer_server = bonobo_activation_activate_from_id (GNOME_EVOLUTION_COMPOSER_OAFIID, 0, NULL, &ev);
+ if (BONOBO_EX (&ev)) {
+ g_warning ("Could not activate composer: %s", bonobo_exception_get_text (&ev));
+ CORBA_exception_free (&ev);
+ return FALSE;
+ }
+
/* Set recipients, subject */
GNOME_Evolution_Composer_setHeaders (composer_server, from, to_list, cc_list, bcc_list, subject, &ev);
if (BONOBO_EX (&ev)) {