From 1e946d003e12cce85b4efa6dd06fbd2c1f6a0589 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 12 Jul 2016 11:28:53 +0900 Subject: [PATCH] Fix build error Change-Id: If4b137a95888f2d8ed0469c44fcef81d68920c69 --- src/option.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/option.cpp b/src/option.cpp index a8db873..18e0fb7 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -96,8 +96,9 @@ struct OPTION_ELEMENTS memset(selected_language_item, 0x00, sizeof(selected_language_item)); itc_group_title = NULL; - +#ifdef _CIRCLE circle_surface = NULL; +#endif } Evas_Object *option_window; Evas_Object *naviframe; @@ -120,7 +121,9 @@ struct OPTION_ELEMENTS Elm_Genlist_Item_Class *itc_group_title; +#ifdef _CIRCLE Eext_Circle_Surface *circle_surface; +#endif }; static OPTION_ELEMENTS option_elements[OPTION_WINDOW_TYPE_MAX]; @@ -1319,9 +1322,12 @@ option_window_destroyed(Evas_Object *window) if (CHECK_ARRAY_INDEX(type, OPTION_WINDOW_TYPE_MAX)) { if (option_elements[type].option_window == window) { +#ifdef _CIRCLE if (option_elements[type].circle_surface) { eext_circle_surface_del(option_elements[type].circle_surface); + option_elements[type].circle_surface = NULL; } +#endif option_elements[type].option_window = NULL; option_elements[type].naviframe = NULL; @@ -1331,7 +1337,6 @@ option_window_destroyed(Evas_Object *window) option_elements[type].lang_popup = NULL; option_elements[type].back_button = NULL; option_elements[type].conformant = NULL; - option_elements[type].circle_surface = NULL; option_elements[type].itc_main_item = NULL; option_elements[type].itc_1text_main_item = NULL; -- 2.7.4