summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_menu.c
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-06-14 19:00:22 +0100
committerAlastair Poole <netstar@gmail.com>2018-06-14 19:00:22 +0100
commit6baaab4b215d3b8fa56e9bc037068d654ee7e6f5 (patch)
treeb0929f339084e395be1e52fdbe46f3fb3e0a3819 /src/lib/efreet/efreet_menu.c
parentc8c0dbb32bd7f38b0faf524b1a55585f99d1cb17 (diff)
efreet: mark efreet_menu_async_parse() deprecated.
Marking deprecated, with warnning and instant return. Disabling test code also (for now). Awaiting a fresh implementation. @fix T585
Diffstat (limited to 'src/lib/efreet/efreet_menu.c')
-rw-r--r--src/lib/efreet/efreet_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index b774460c98..3ad742c612 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -598,11 +598,15 @@ efreet_menu_get(void)
598 return NULL; 598 return NULL;
599} 599}
600 600
601EAPI void 601/* deprecated */
602EINA_DEPRECATED EAPI void
602efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data) 603efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data)
603{ 604{
604 Efreet_Menu_Async *async; 605 Efreet_Menu_Async *async;
605 606
607 ERR("%s is deprecated and shouldn't be called", __FUNCTION__);
608
609 return;
606 async = NEW(Efreet_Menu_Async, 1); 610 async = NEW(Efreet_Menu_Async, 1);
607 async->func = func; 611 async->func = func;
608 async->data = (void*)data; 612 async->data = (void*)data;