From: Jeesun Kim Date: Mon, 20 Feb 2017 05:25:32 +0000 (+0900) Subject: [ITC][Calendar-service2][NON-ACR][fix return value of foreach callback] X-Git-Tag: 4.0_Bringup~10^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b94ca857763896bb7e1700fc9a875dc6ee64e146;p=test%2Ftct%2Fnative%2Fapi.git [ITC][Calendar-service2][NON-ACR][fix return value of foreach callback] Change-Id: I5d35900161516ef06d376830050e8e8389e406e0 Signed-off-by: Jeesun Kim --- diff --git a/src/itc/calendar-service2/ITs-calendar-service2-vcalendar.c b/src/itc/calendar-service2/ITs-calendar-service2-vcalendar.c index 3f2d56dc1..34affbd5e 100755 --- a/src/itc/calendar-service2/ITs-calendar-service2-vcalendar.c +++ b/src/itc/calendar-service2/ITs-calendar-service2-vcalendar.c @@ -21,7 +21,6 @@ */ //& set: CalendarService2 -static GMainLoop *g_pMainLoop; /** * @function ITs_calendar_service_startup @@ -83,11 +82,7 @@ void ITs_calendar_service2_vcalendar_cleanup(void) static bool CalenderServiceVcalParseToCalForEachCallback(calendar_record_h record, void *user_data) { FPRINTF("[Line : %d][%s] Inside Vcalendar parse to calendar foreach callback\\n", __LINE__, API_NAMESPACE); - if ( g_pMainLoop ) - { - g_main_loop_quit(g_pMainLoop); - } - return false; + return true; } /** @addtogroup itc-calendar-service2-testcases