From: Jin Yoon Date: Thu, 27 Jun 2013 05:16:53 +0000 (+0900) Subject: Prevent 0627 X-Git-Tag: submit/tizen_2.2/20130714.152534~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18e175b03d6b4c27016bc9f8809c475aad16d8cc;p=apps%2Fhome%2Fmenu-screen.git Prevent 0627 --- diff --git a/data/org.tizen.menu-screen.xml.in b/data/org.tizen.menu-screen.xml.in index 0930cbc..570aa45 100755 --- a/data/org.tizen.menu-screen.xml.in +++ b/data/org.tizen.menu-screen.xml.in @@ -1,5 +1,5 @@ - + Jin Yoon Youngjoo Park diff --git a/packaging/org.tizen.menu-screen.spec b/packaging/org.tizen.menu-screen.spec index 7db69b8..982d1fe 100644 --- a/packaging/org.tizen.menu-screen.spec +++ b/packaging/org.tizen.menu-screen.spec @@ -16,7 +16,7 @@ Name: org.tizen.menu-screen Summary: An utility library of the menu screen -Version: 1.1.9 +Version: 1.1.10 Release: 1.1 Group: TO_BE/FILLED_IN License: Flora Software License diff --git a/src/item.c b/src/item.c index 208c779..0c98b4a 100644 --- a/src/item.c +++ b/src/item.c @@ -505,9 +505,12 @@ HAPI void item_update(Evas_Object *item, app_info_t *ai) ret_if(NULL == ai); if (!ai->image) { - if (0 != access(ai->icon, R_OK)) { + if (ai->icon && 0 == access(ai->icon, R_OK)) { + ; + } else { _E("Failed to access to [%s]", ai->icon); if (ai->icon) free(ai->icon); + ai->icon = strdup(DEFAULT_ICON); if (!ai->icon) _E("Critical! strdup error"); } diff --git a/src/item_event.c b/src/item_event.c index 7102449..4b9ef37 100644 --- a/src/item_event.c +++ b/src/item_event.c @@ -106,7 +106,6 @@ static void _uninstall_down_cb(void *data, Evas_Object *obj, const char* emissio static void _uninstall_up_cb(void *item, Evas_Object *obj, const char* emission, const char* source) { Evas_Object *win; - Evas_Object *scroller; ret_if(mouse_is_scrolling()); @@ -114,7 +113,6 @@ static void _uninstall_up_cb(void *item, Evas_Object *obj, const char* emission, ret_if(NULL == win); _D("Uninstall button is up"); - scroller = evas_object_data_get(item, "scroller"); obj = evas_object_data_get(obj, "evas_object"); ret_if(NULL == obj); ret_if(NULL == evas_object_data_get(obj, "removing"));