aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-03-16 00:05:07 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-03-16 00:05:07 +0800
commit84ad463749753e7ddfefe6a54f34cc8ed187d5da (patch)
tree7c8f3647fd992abb075aadbcb77cb357e9b0f8c9 /calendar/gui
parente70be54943aaecb9e80b0786efd44d9f46e4f193 (diff)
downloadgsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar.gz
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar.bz2
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar.lz
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar.xz
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.tar.zst
gsoc2013-evolution-84ad463749753e7ddfefe6a54f34cc8ed187d5da.zip
when publishing, the to_list will always be null so don't error out then
2005-03-15 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): when publishing, the to_list will always be null so don't error out then svn path=/trunk/; revision=29026
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 63067aee7c..9cbdc6a438 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -916,11 +916,11 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp,
/* We sent them all via the server */
retval = TRUE;
goto cleanup;
+ } else if (to_list == NULL || to_list->_length == 0) {
+ /* if we don't have recipients, return */
+ retval = FALSE;
+ goto cleanup;
}
- } else if (to_list == NULL || to_list->_length == 0) {
- /* if we don't have recipients, return */
- retval = FALSE;
- goto cleanup;
}
cc_list = GNOME_Evolution_Composer_RecipientList__alloc ();