Merge "[elc_navigationbar]: prevent defect fix 20519, removed unnecessary test as...
authorShilpa Singh <shilpa.singh@samsung.com>
Tue, 20 Sep 2011 06:21:55 +0000 (15:21 +0900)
committerGerrit Code Review <git@Maetan>
Tue, 20 Sep 2011 06:21:55 +0000 (15:21 +0900)
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