forked from enlightenment/efl
remove deprecated code related with
elm_notify_repeat_events_set/get function. SVN revision: 69245
This commit is contained in:
parent
910bd194e2
commit
5efc17d5b2
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue