From bc267e1428b5867620f5bae1ecada2bb64039223 Mon Sep 17 00:00:00 2001 From: lokilee73 Date: Thu, 19 Jan 2017 19:13:09 +0900 Subject: [PATCH] common : fix a potential bug by profile that is ivi or other one Change-Id: I80240c2a0233d209a6252fbb833352a216807f3c Signed-off-by: lokilee73 --- src/common/popup-common.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/common/popup-common.h b/src/common/popup-common.h index 6acce02..a55b00b 100755 --- a/src/common/popup-common.h +++ b/src/common/popup-common.h @@ -60,17 +60,15 @@ typedef struct appdata { Evas_Object *win; Evas_Object *conform; Evas_Object *layout; -#ifdef PROFILE_MOBILE - Evas_Object *fb; -#elif defined PROFILE_TV - Evas_Object *fb; -#elif defined PROFILE_WEARABLE +#ifdef PROFILE_WEARABLE Evas_Object *nf; Evas_Object *datetime; Evas_Object *popup; Evas_Object *button; Eext_Circle_Surface *circle_surface; struct tm saved_time; +#else + Evas_Object *fb; #endif } appdata_s; -- 2.7.4