diff options
author | Federico Mena Quintero <federico@src.gnome.org> | 2000-07-18 07:57:22 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-07-18 07:57:22 +0800 |
commit | 86ec303a21211ab79c4e7a0c160e59b5605bfe15 (patch) | |
tree | ee5105d51bd89373c6fd0df53a44ecabe96d8ac4 /calendar/cal-client/cal-client.c | |
parent | b016d8e474ab80e57e7f5475274831807cd7ec5c (diff) | |
download | gsoc2013-evolution-86ec303a21211ab79c4e7a0c160e59b5605bfe15.tar.gz gsoc2013-evolution-86ec303a21211ab79c4e7a0c160e59b5605bfe15.tar.zst gsoc2013-evolution-86ec303a21211ab79c4e7a0c160e59b5605bfe15.zip |
Docs docs docs - Federico
svn path=/trunk/; revision=4206
Diffstat (limited to 'calendar/cal-client/cal-client.c')
-rw-r--r-- | calendar/cal-client/cal-client.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index 90b4dcdbed..1e0a0561d5 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -550,6 +550,16 @@ cal_client_create_calendar (CalClient *client, const char *str_uri) return load_or_create (client, str_uri, FALSE); } +/** + * cal_client_get_n_objects: + * @client: A calendar client. + * @type: Type of objects that will be counted. + * + * Counts the number of calendar components of the specified @type. This can be + * used to count how many events, to-dos, or journals there are, for example. + * + * Return value: Number of components. + **/ int cal_client_get_n_objects (CalClient *client, CalObjType type) { |