summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghyun Kim <jh1114.kim@samsung.com>2012-08-29 01:57:25 (GMT)
committerJunghyun Kim <jh1114.kim@samsung.com>2012-08-29 01:57:25 (GMT)
commita18130ada65fae9a2d34890bbbc01c57929cc352 (patch)
tree8b6a3e523016b228f7c73ce805bb432c5df864da
parent6af47a7328f6c4fd468890757eb18b2a6197eea6 (diff)
downloadsmartsearch-a18130ada65fae9a2d34890bbbc01c57929cc352.zip
smartsearch-a18130ada65fae9a2d34890bbbc01c57929cc352.tar.gz
smartsearch-a18130ada65fae9a2d34890bbbc01c57929cc352.tar.bz2
Fix build error
-rwxr-xr-xsrc/search_bar.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/search_bar.cpp b/src/search_bar.cpp
index a8e93fd..80bfa59 100755
--- a/src/search_bar.cpp
+++ b/src/search_bar.cpp
@@ -213,7 +213,6 @@ static Evas_Object* __search_searchbar_create(void *data)
SEARCH_FUNC_START;
struct appdata *ad = (struct appdata *)data;
- int err = 0;
int category = 0;
Evas_Object *search_layout = NULL;
Evas_Object *cate_btn;
@@ -266,16 +265,6 @@ static Evas_Object* __search_searchbar_create(void *data)
elm_object_style_set(cate_btn, "icon");
elm_object_content_set(ad->cate_btn, cate_icon);
- evas_object_smart_callback_add(cate_btn, "clicked",
- __search_searchbar_category_btn_clicked_cb,
- data);
- evas_object_smart_callback_add(cate_btn, "unpressed",
- __search_searchbar_category_btn_unpressed_cb,
- data);
- evas_object_smart_callback_add(cate_btn, "pressed",
- __search_searchbar_category_btn_pressed_cb,
- data);
-
evas_object_show(cate_btn);
ad->cate_btn = cate_btn;
@@ -391,11 +380,6 @@ void search_searchbar_cb(void *data, Evas_Object * obj, void *event_info)
struct appdata *ad = (struct appdata *)data;
- Evas_Object *cate_btn;
- Evas_Object *cate_icon;
- int category = 0;
- char *imgpath = NULL;
-
/* create layout */
ad->sb_layout = elm_layout_add(ad->navi_bar);