From c847345e63ac518c403f3af763b73028b547bad6 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 21 May 2019 18:18:43 +0200 Subject: I#117 - Fix clang warnings (mostly [-Wenum-conversion]) Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/117 --- tests/libedata-cal/test-cal-meta-backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.1