[misc] Sync from master branch.
[apps/core/preloaded/calendar.git] / src / list-base.c
index d23c94c..4f6894c 100755 (executable)
@@ -362,8 +362,8 @@ static void __cal_list_delete_norepeat_popup_response_event_callback(void *data,
        if (NULL != strstr(elm_object_text_get(button), S_("IDS_COM_BODY_DELETE"))) {
                _calendar_delete_record_with_index(p->ad->cid);
 
-               int r = status_message_post(S_("IDS_COM_POP_DELETED"));
-               c_warn_if(r != STATUS_ERROR_NONE, "status_message_post() is failed(%d)", r);
+               int r = notification_status_message_post(S_("IDS_COM_POP_DELETED"));
+               c_warn_if(r != NOTIFICATION_ERROR_NONE, "notification_status_message_post() is failed(%d)", r);
        }
 
        evas_object_del(p->popup);
@@ -412,8 +412,8 @@ static void __cal_list_delete_event(cal_list_base_s* p, Eina_Bool is_delete_all)
        else
                _calendar_delete_record_with_index(ad->cid);
 
-       int r = status_message_post(S_("IDS_COM_POP_DELETED"));
-       c_warn_if(r != STATUS_ERROR_NONE, "status_message_post() is failed(%d)", r);
+       int r = notification_status_message_post(S_("IDS_COM_POP_DELETED"));
+       c_warn_if(r != NOTIFICATION_ERROR_NONE, "notification_status_message_post() is failed(%d)", r);
 }
 
 static void __cal_list_delete_popup_response_event_callback(void *data, Evas_Object *obj, void *event_info)