[ITC][Calendar-service2][NON-ACR][fix return value of foreach callback]
authorJeesun Kim <iamjs.kim@samsung.com>
Mon, 20 Feb 2017 05:25:32 +0000 (14:25 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Mon, 20 Feb 2017 05:26:01 +0000 (14:26 +0900)
Change-Id: I5d35900161516ef06d376830050e8e8389e406e0
Signed-off-by: Jeesun Kim <iamjs.kim@samsung.com>
src/itc/calendar-service2/ITs-calendar-service2-vcalendar.c

index 3f2d56dc1b3c5ad0ed80badf07266837de23fb0b..34affbd5e3193abe4de24a5e7886d59a39be061e 100755 (executable)
@@ -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