[Attach panel] Change the unsupported API to macro 24/71124/1 accepted/tizen/mobile/20160525.003540 submit/tizen/20160524.084906
authormoon87.park <moon87.park@samsung.com>
Tue, 24 May 2016 07:29:48 +0000 (16:29 +0900)
committermoon87.park <moon87.park@samsung.com>
Tue, 24 May 2016 07:29:48 +0000 (16:29 +0900)
Change-Id: I869c0c2606768186b93c66a0b7a47abf3546da11

src/content_list.c

index 6981bed6bc830a2dba5431394d5d120c2b57e21e..7ce868782c678a42b5e6e499a94db5c31e30146b 100644 (file)
 #include "content_list.h"
 #include "log.h"
 
+/* This APIs are not supported
+#define UG_LIFECYCLE_API_SUPPORTED
+*/
+
 
 
 void _content_list_send_message(Eina_List *list, const char *key, const char *value, int is_ug)
@@ -153,7 +157,7 @@ void _content_list_set_pause(Eina_List *list, int is_ug)
                                _D("Fail to get the ui gadget");
                                continue;
                        }
-#if 0 /* This API is not included in the 3.0 */
+#ifdef UG_LIFECYCLE_API_SUPPORTED
                        ug_pause_ug(ui_gadget);
 #endif
                }
@@ -181,7 +185,7 @@ void _content_list_set_resume(Eina_List *list, int is_ug)
                                _D("Fail to get the ui gadget");
                                continue;
                        }
-#if 0 /* This API is not included in the 3.0 */
+#ifdef UG_LIFECYCLE_API_SUPPORTED
                        ug_resume_ug(ui_gadget);
 #endif
                }