aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index ca59840430..fc90c2a459 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1295,7 +1295,7 @@ cal_client_get_one_alarm_only (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "one-alarm-only");
+ return check_capability (client, CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY);
}
gboolean
@@ -1304,7 +1304,7 @@ cal_client_get_organizer_must_attend (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "organizer-must-attend");
+ return check_capability (client, CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND);
}
gboolean
@@ -1319,7 +1319,7 @@ cal_client_get_save_schedules (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "save-schedules");
+ return check_capability (client, CAL_STATIC_CAPABILITY_SAVE_SCHEDULES);
}
/* Converts our representation of a calendar component type into its CORBA representation */