libecal: catch invalid CalObjModType values
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 12 May 2011 07:36:59 +0000 (09:36 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 7 Jun 2011 09:35:44 +0000 (11:35 +0200)
commite6eb665600248a28bccf268be70d5d3ffcdadb62
treecd5e721d052707dad4f7c74dcc3bb0b67b640b22
parentc54220339d9fda38d537e1f8cac3637403b362ab
libecal: catch invalid CalObjModType values

This protects backends without their own parameter checking
from being invoked with invalid CalObjModType values. Note
that this only excludes values that haven't been defined.
Backends still need to check whether they support the
selected mode.
calendar/libecal/e-cal.c