[elc_navigationbar]: prevent defect fix 20519, removed unnecessary
authorShilpa Singh <shilpa.singh@samsung.com>
Thu, 15 Sep 2011 07:19:14 +0000 (16:19 +0900)
committerShilpa Singh <shilpa.singh@samsung.com>
Thu, 15 Sep 2011 07:19:14 +0000 (16:19 +0900)
test as test for item_style and it is already done one more test not
required.

Change-Id: Ief2465346462d2e76c26ccb13f5824453a2be6fb

src/lib/elc_navigationbar_ex.c

index 2c9a1b1..a890bb6 100644 (file)
@@ -561,7 +561,7 @@ elm_navigationbar_ex_item_push(Evas_Object *obj, Evas_Object *content, const cha
 \r
    strncpy(buf, "item/", sizeof(buf));\r
    strncat(buf, item_style, sizeof(buf) - strlen(buf));\r
-   if (!eina_stringshare_replace(&it->item_style, item_style)) return NULL;\r
+   eina_stringshare_replace(&it->item_style, item_style);\r
    _elm_theme_object_set(obj, it->base,  "navigationbar_ex", buf, elm_widget_style_get(obj));\r
 \r
 \r