summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2019-05-21 18:18:43 +0200
committerMilan Crha <mcrha@redhat.com>2019-05-21 18:18:43 +0200
commitc847345e63ac518c403f3af763b73028b547bad6 (patch)
tree50d03aa5caa931662db7ed6ebba5a69d73ce17fb /tests
parenta0c55ac62bb24d4a56563f2801ffcebd06d82b45 (diff)
downloadevolution-data-server-c847345e63ac518c403f3af763b73028b547bad6.tar.gz
I#117 - Fix clang warnings (mostly [-Wenum-conversion])
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/117
Diffstat (limited to 'tests')
-rw-r--r--tests/libedata-cal/test-cal-meta-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libedata-cal/test-cal-meta-backend.c b/tests/libedata-cal/test-cal-meta-backend.c
index 3d305de56..327898188 100644
--- a/tests/libedata-cal/test-cal-meta-backend.c
+++ b/tests/libedata-cal/test-cal-meta-backend.c
@@ -724,7 +724,7 @@ e_cal_meta_backend_test_new (ECalCache *cache)
meta_backend = g_object_new (E_TYPE_CAL_META_BACKEND_TEST,
"source", scratch,
"registry", glob_registry,
- "kind", ICAL_VEVENT_COMPONENT,
+ "kind", I_CAL_VEVENT_COMPONENT,
NULL);
g_assert_nonnull (meta_backend);
@@ -2461,7 +2461,7 @@ test_receive_objects (ECalMetaBackend *meta_backend)
icomp = i_cal_component_new_from_string (calobj);
g_assert_nonnull (icomp);
- firsticomp = i_cal_component_get_first_component (icomp, ICAL_VEVENT_COMPONENT);
+ firsticomp = i_cal_component_get_first_component (icomp, I_CAL_VEVENT_COMPONENT);
g_assert_nonnull (firsticomp);
g_free (calobj);