aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-07-07 17:51:35 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-07-07 17:51:35 +0800
commit742a5252c8f8611d17db3ce946d7cdc9e2328d7a (patch)
tree0ebcd4b034479ab776cd4f9dfed6bb17065223ce /calendar/cal-client
parentaecbd37011e179c222395f8e0553cd40cd96117b (diff)
downloadgsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.gz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.bz2
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.lz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.xz
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.tar.zst
gsoc2013-evolution-742a5252c8f8611d17db3ce946d7cdc9e2328d7a.zip
Fixes #45910
2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 25e40322bb..0854d75b61 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1254,6 +1254,9 @@ cal_client_get_organizer_must_attend (CalClient *client)
gboolean
cal_client_get_static_capability (CalClient *client, const char *cap)
{
+ g_return_val_if_fail (client != NULL, FALSE);
+ g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
+
return check_capability (client, cap);
}