popup: warning added in elm_popuo_run function
authorshilpa <shilpa.singh@samsung.com>
Wed, 18 Aug 2010 21:40:16 +0000 (06:40 +0900)
committershilpa <shilpa.singh@samsung.com>
Wed, 18 Aug 2010 21:40:16 +0000 (06:40 +0900)
src/lib/elm_popup.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 7c28821..3c94d45
@@ -888,6 +888,7 @@ elm_popup_run(Evas_Object *obj)
    Ecore_Event_Handler *_elm_exit_handler = NULL;\r
    /*Finger waggle warning*/\r
    /*_elm_dangerous_call_check(__FUNCTION__);*/\r
+   WRN("WARNING!! Dont use this function use response signal instead, this function is only for applications using java script engine");\r
    evas_object_show(obj);\r
    evas_object_smart_callback_add(obj, "response", response_cb, &response_id); \r
    _elm_exit_handler = ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _elm_signal_exit, &response_id);\r