aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2006-03-28 12:46:47 +0800
committerHarry Lu <haip@src.gnome.org>2006-03-28 12:46:47 +0800
commitb35d81ae0829510bcf40e1109be10bee917300cb (patch)
tree769487550cf8b2ba9a65752c3e268b3e460d6bc5 /calendar/gui/calendar-component.c
parent945bf85e618b768cae86a272fe7b452141d90713 (diff)
downloadgsoc2013-evolution-b35d81ae0829510bcf40e1109be10bee917300cb.tar.gz
gsoc2013-evolution-b35d81ae0829510bcf40e1109be10bee917300cb.tar.zst
gsoc2013-evolution-b35d81ae0829510bcf40e1109be10bee917300cb.zip
Fix for 333693. need to see if source is NULL to avoid a CRITICAL warning.
2006-03-28 Harry Lu <harry.lu@sun.com> Fix for 333693. * gui/calendar-component.c: (update_task_selection): need to see if source is NULL to avoid a CRITICAL warning. svn path=/trunk/; revision=31748
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index b620715c91..b88850c8ce 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -416,7 +416,7 @@ update_task_selection (CalendarComponentView *component_view)
ESource *source;
source = e_source_list_peek_source_by_uid (component_view->task_source_list, uid);
- if (!gnome_calendar_add_source (component_view->calendar, E_CAL_SOURCE_TYPE_TODO, source))
+ if (source && !gnome_calendar_add_source (component_view->calendar, E_CAL_SOURCE_TYPE_TODO, source))
/* FIXME do something */;
}
/commit/audio/libsamplerate?h=mate-1.16&id=1b08129f8a23b1d2bdf8289b180bb019136de619'>Convert to USES=libtool:oldverbapt2014-02-061-3/+2 * Remove ',' at the end of the last entry of emumerator list.kwm2013-11-242-4/+17 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1 * Convert USE_PKGCONFIG -> USES=pkgconf for audio categorybapt2013-04-231-2/+1 * This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.eadler2013-03-191-1/+1 * convert libcddb and libsamplerate to only build depend on pkgconf, trackbapt2012-10-061-6/+3 * Convert to new options frameworkbapt2012-05-301-7/+8 * disable some optional machine-dependent code by default;bf2012-03-032-8/+39 * - update fftw3* to 3.3 [1], and adjust dependent portsbf2011-10-171-2/+2 * - Support NOPORTDOCSswills2011-10-032-16/+21 * * Don't bother patching the configure output.naddy2011-08-313-81/+2 * - Update to 0.1.8sylvio2011-08-315-20/+92 * - Portlint, add LICENSEpav2011-08-291-4/+4 * Distfile was rerolled.kwm2011-01-281-3/+2 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - Chase fftw3 updatepav2009-05-181-1/+2 * - Update to 0.1.7miwi2009-03-212-6/+5 * Update to 0.1.4ahze2008-07-262-4/+4 * Update to 0.1.3ahze2008-03-253-5/+8 * Portlint:mezz2007-03-271-1/+1 * Use libtool port instead of included one to avoid objformat a.out botchkris2007-01-281-0/+1 * - Transfer MAINTAINER to multimedia@ahze2006-06-101-1/+1 * - Chase fftw3 libver bumpahze2006-05-111-3/+3 * Conversion to a single libtool environment.ade2006-02-232-1/+3 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1