From: jypark Date: Mon, 12 Mar 2012 10:27:37 +0000 (+0000) Subject: remove deprecated code related with X-Git-Tag: REL_F_I9500_20120323_1~17^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75a5f13f0e353c578ff85764e654f848904858b7;p=framework%2Fuifw%2Felementary.git remove deprecated code related with elm_notify_repeat_events_set/get function. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/examples/notify_example_01.c b/src/examples/notify_example_01.c index c19119d..98f41c4 100644 --- a/src/examples/notify_example_01.c +++ b/src/examples/notify_example_01.c @@ -34,7 +34,7 @@ elm_main(int argc, char **argv) evas_object_show(content); notify = elm_notify_add(win); - elm_notify_repeat_events_set(notify, EINA_FALSE); + elm_notify_allow_events_set(notify, EINA_FALSE); elm_notify_timeout_set(notify, 5); elm_object_content_set(notify, content); evas_object_size_hint_weight_set(notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/examples/win_example.c b/src/examples/win_example.c index b7dd170..d942c3b 100644 --- a/src/examples/win_example.c +++ b/src/examples/win_example.c @@ -112,7 +112,7 @@ _main_win_del_cb(void *data __UNUSED__, Evas_Object *obj, void *event __UNUSED__ msg = elm_notify_add(obj); elm_notify_orient_set(msg, ELM_NOTIFY_ORIENT_CENTER); - elm_notify_repeat_events_set(msg, EINA_FALSE); + elm_notify_allow_events_set(msg, EINA_FALSE); evas_object_show(msg); box = elm_box_add(obj); diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index 34885c0..c27b17f 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -602,18 +602,6 @@ elm_notify_timeout_get(const Evas_Object *obj) return wd->timeout; } -EINA_DEPRECATED EAPI void -elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) -{ - elm_notify_allow_events_set(obj, repeat); -} - -EINA_DEPRECATED EAPI Eina_Bool -elm_notify_repeat_events_get(const Evas_Object *obj) -{ - return elm_notify_allow_events_get(obj); -} - EAPI void elm_notify_allow_events_set(Evas_Object *obj, Eina_Bool allow) {