remove deprecated code related with
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 10:27:37 +0000 (10:27 +0000)
committerjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Mar 2012 10:27:37 +0000 (10:27 +0000)
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

src/examples/notify_example_01.c
src/examples/win_example.c
src/lib/elm_notify.c

index c19119d..98f41c4 100644 (file)
@@ -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);
index b7dd170..d942c3b 100644 (file)
@@ -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);
index 34885c0..c27b17f 100644 (file)
@@ -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)
 {