aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-12 00:47:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-12 00:47:17 +0800
commitdbcaac3afaabb7345f0c76a04a76f78b310f79af (patch)
treec71b47d4a313cb5d64b4c8cb83164b6947b8cf50 /mail/component-factory.c
parenta7b886424fdbc61d28b63b4cda24616988e23d5a (diff)
downloadgsoc2013-evolution-dbcaac3afaabb7345f0c76a04a76f78b310f79af.tar.gz
gsoc2013-evolution-dbcaac3afaabb7345f0c76a04a76f78b310f79af.tar.zst
gsoc2013-evolution-dbcaac3afaabb7345f0c76a04a76f78b310f79af.zip
Make sure the service/storage are non-NULL.
2001-10-11 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (free_storage): Make sure the service/storage are non-NULL. * mail-callbacks.c (e_gnome_dialog_parent_destroyed): Call gtk_main_quit. (send_receive_mail): Don't use e_gnome stuff since this doesn't need to be run using gnome_dialog_run_and_close(). (composer_send_cb): Same. (edit_msg): Here too. (resend_msg): And here. (search_msg): Same. (filter_edit): Here too. (filter_edit): Don't use e_gnome_dialog_set_parent() because we don't do gnome_dialog_run_and_close on this dialog. (e_gnome_error_dialog_parented): Removed. (e_gnome_ok_dialog_parented): Removed. svn path=/trunk/; revision=13583
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index e193fec3c6..5d47f42d31 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -729,9 +729,13 @@ owner_set_cb (EvolutionShellComponent *shell_component,
static void
free_storage (gpointer service, gpointer storage, gpointer data)
{
- camel_service_disconnect (CAMEL_SERVICE (service), TRUE, NULL);
- camel_object_unref (CAMEL_OBJECT (service));
- bonobo_object_unref (BONOBO_OBJECT (storage));
+ if (service) {
+ camel_service_disconnect (CAMEL_SERVICE (service), TRUE, NULL);
+ camel_object_unref (CAMEL_OBJECT (service));
+ }
+
+ if (storage)
+ bonobo_object_unref (BONOBO_OBJECT (storage));
}
static void
='deletions'>-1/+7 * Mark as broken with gcc4.2.linimon2007-10-021-0/+4 * biology/linux-foldingathome needs to run as root?edwin2007-09-233-6/+8 * Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-087-39/+5 * - Update to 1.06miwi2007-09-072-12/+5 * - Update to version 2.3itetcu2007-09-034-46/+57 * - Chase x11-toolkits/pmw renamed to x11-toolkits/py-Pmwrafan2007-09-021-2/+2 * Replace IGNORE with ONLY_FOR_ARCHS for this binary port.kris2007-08-091-9/+2 * Fix pkg-plistlme2007-08-031-0/+1 * Update to 2.0.10lme2007-08-014-22/+22 * - cleanup after gnustep-make-2.0.1dinoex2007-07-231-1/+0 * Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-141-7/+2 * Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-121-4/+2 * Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-122-9/+2 * Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-121-5/+1 * - Runs on 7.0-CURRENT with compat6xpav2007-07-081-0/+4 * - Update to version 9rafan2007-07-083-1313/+1505 * dyeske at yahoo dot com -> dyeske at gmail dot comedwin2007-07-064-6/+6 * chase math/gsl lib versionijliao2007-06-291-2/+2 * Bump to v0.16.aaron2007-06-203-6/+53 * - Fix the build with GCC 4.2danfe2007-06-192-7/+32 * - Fix typos.miwi2007-05-311-3/+3 * - Update to 1.43miwi2007-05-304-92/+167 * BROKEN: Unfetchablekris2007-05-271-0/+2 * BROKEN with gcc 4.2kris2007-05-271-1/+7 * - update for gnustep-make-2.0.0dinoex2007-05-252-71/+79 * - update for gnustep-make-2.0.0dinoex2007-05-251-1/+1 * swap MASTER_SITES to improve fetchiness on pointyhat which is blocked from da...edwin2007-05-251-4/+2 * BROKEN: Unfetchablekris2007-05-251-0/+2 * - Chase openbabel updatepav2007-05-251-2/+2 * - Welcome X.org 7.2 \o/.flz2007-05-2035-20/+40 * [patch] cleanup non-supported FreeBSD versionsedwin2007-05-021-7/+2 * [patch] cleanup non-supported FreeBSD versionsedwin2007-05-021-7/+1 * [patch] cleanup non-supported FreeBSD versionsedwin2007-05-021-6/+2 * [patch] cleanup non-supported FreeBSD versionsedwin2007-05-021-7/+1 * Use my @FreeBSD.org address.nemoliu2007-04-301-1/+1 * - Update to 4.5clsung2007-04-243-14/+13 * - Unbreakmiwi2007-04-211-3/+3 * BROKEN: Unfetchablekris2007-04-201-0/+2 * [patch] cleanup non-supported FreeBSD versionsedwin2007-04-173-41/+1 * Remove always-true condition due to OSVERSIONedwin2007-04-161-1/+1 * - Remove unreachable OSVERSION code.edwin2007-04-161-13/+9 * - Fix after objformat removalpav2007-03-291-0/+3 * - Update to 1.5-beta2miwi2007-03-273-13/+14 * - MASTER_SITE is back, remove BROKENgabor2007-03-171-2/+0 * Reset razi@genet.sickkids.on.ca due to maintainer-timeouts and no response tolinimon2007-03-141-1/+1 * Reset dbader@eece.unm.edu due to maintainer-timeouts.linimon2007-03-111-1/+1 * Reset dbader@eece.unm.edu due to maintainer-timeout. While here, fix fetch.linimon2007-03-111-2/+2 * Reset chuynh@biolateral.com.au: address bounces.linimon2007-03-112-2/+2 * - Update to 4.96miwi2007-03-093-10/+143 * - Update to 34.26.2miwi2007-03-092-8/+6 * - Release distfile was renamed.miwi2007-03-082-5/+5 * BROKEN: Unfetchablekris2007-02-271-0/+2 * - mark ignore on FreeBSD 5.xdinoex2007-02-191-1/+7 * Schedule these broken ports for removal on 2007-04-10 if they are stillkris2007-02-111-0/+2 * Update to 0.99rc6.maho2007-02-092-5/+5 * BROKEN: Does not buildkris2007-02-051-0/+2 * Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-011-0/+1 * - add category gnustepdinoex2007-02-012-2/+2 * Build fix.maho2007-01-291-1/+2 * Update to 3.66itetcu2007-01-282-4/+4 * Fix master sites, un-deprecate and update biology/recombine to 1.41.vd2007-01-254-86/+19 * Remove expired leaf port:vd2007-01-256-78/+0 * Get rid of biology/coalesce dependency, it is deprecated and will be removedvd2007-01-251-2/+2 * Fix master site and un-deprecatevd2007-01-251-4/+1 * - Fix typomiwi2007-01-231-1/+1 * - Project moves to a new home. Change MASTER_SITES and WWWrafan2007-01-232-2/+2 * Fix build.maho2007-01-191-1/+1 * Forgot to commit a patch. Fixes build.maho2007-01-191-0/+20 * * Migrate to gfortran.maho2007-01-172-13/+11 * . change dependencies: shells/bash2 -> shells/bash;bsam2007-01-171-1/+2 * * Migrate to gfortran.maho2007-01-161-5/+4 * - update to use new bsd.gnustep.mkdinoex2007-01-131-4/+3 * * Migrate to gfortran.maho2007-01-122-2/+7 * Using gfortran42 only. not using gcc42.maho2007-01-121-3/+5 * Using only gfortran42. not gcc42.maho2007-01-122-6/+10 * * Add dummy knob WANT_FORTRAN for future gfortranmaho2007-01-092-127/+147 * migrated to gfortran.maho2007-01-091-0/+3 * Migrated to gfortran.maho2007-01-093-6/+13 * The BioCocoa framework provides developers with the opportunity to adddinoex2006-12-305-0/+45 * - Update to 1.0.1miwi2006-12-303-97/+98 * Update to v0.15aaron2006-12-283-40/+40 * Reset tonymaher@optusnet.com.au due to maintainer-timeouts and no responselinimon2006-12-265-5/+5 * - Update to 5.1.2miwi2006-12-2411-236/+308 * - Update to 1.03rafan2006-12-193-105/+42 * Reset dbader@ece.unm.edu due to timeouts and no response to email.linimon2006-12-132-2/+2 * Reset whitekid@gmail.com after timeouts and no response to email.linimon2006-12-131-1/+1 * - Update to 2.1.3gabor2006-12-104-33/+19 * - Deprecategabor2006-12-103-0/+9 * - Local/Tools/Resources now globaldinoex2006-12-091-1/+0 * - Respect X11BASErafan2006-12-091-0/+5 * - Update to 0.14laszlof2006-12-074-56/+48 * - Mark broken on amd64 < 6. We got followingrafan2006-12-041-0/+4 * Correct path to Compress::Zlib.pm after recent p5-Compress-Zlib update.demon2006-12-031-1/+1 * - Respect X11BASErafan2006-12-031-1/+1 * - Use features of bsd.wx.mk, especially USE_WXpav2006-12-011-4/+2 * - Respect X11BASEmiwi2006-11-281-2/+2 * - Update to 1.91rafan2006-11-273-38/+5 * - Upgrade to the latest beta and unbreak;thierry2006-11-224-230/+274 * - cleanup patchesdinoex2006-11-131-3/+0 * - fix build on non i386 archsdinoex2006-11-101-2/+2 * Adun is a new extendible molecular simulation program that alsodinoex2006-11-1010-0/+607 * - Update to 1.42miwi2006-10-313-121/+90 * - Update to 34.t26.b3miwi2006-10-313-4/+7 * Distfile now checksums successfully.lawrance2006-10-151-4/+0 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-5/+7 * - Add hmmer 5.09 applicationpav2006-10-104-10/+38 * Chase pdf library and bump PORTREVISION.ale2006-10-091-1/+2 * - Allow wxWidgets 2.6 alongside 2.4, this port works with bothpav2006-10-091-4/+3 * - Update to 0.98dclsung2006-10-062-4/+4 * Add gmap 2006.04.21, a Genomic Mapping and Alignment Program for mRNAclsung2006-09-29