notify: remove duplicate call of _sizing_eval.
authorAmitesh Singh <amitesh.sh@samsung.com>
Tue, 24 Nov 2015 10:58:01 +0000 (16:28 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Tue, 24 Nov 2015 11:00:42 +0000 (16:30 +0530)
we are already calling _sizing_eval() inside _calc().

legacy/elementary/src/lib/elm_notify.c

index cec6104..5014585 100644 (file)
@@ -382,7 +382,6 @@ _elm_notify_elm_container_content_set(Eo *obj, Elm_Notify_Data *sd, const char *
         edje_object_part_swallow(sd->notify, "elm.swallow.content", content);
      }
 
-   _sizing_eval(obj);
    _calc(obj);
 
    return EINA_TRUE;
@@ -515,7 +514,6 @@ _elm_notify_elm_widget_parent_set(Eo *obj, Elm_Notify_Data *sd, Evas_Object *par
           (parent, EVAS_CALLBACK_DEL, _parent_del_cb, obj);
         evas_object_event_callback_add
           (parent, EVAS_CALLBACK_HIDE, _parent_hide_cb, obj);
-        _sizing_eval(obj);
      }
 
    _calc(obj);