summaryrefslogtreecommitdiff
path: root/src/lib
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
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')
-rw-r--r--src/lib/efreet/efreet_menu.c6
-rw-r--r--src/lib/efreet/efreet_menu.h4
2 files changed, 7 insertions, 3 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;
diff --git a/src/lib/efreet/efreet_menu.h b/src/lib/efreet/efreet_menu.h
index b7f123ac82..a732630723 100644
--- a/src/lib/efreet/efreet_menu.h
+++ b/src/lib/efreet/efreet_menu.h
@@ -100,9 +100,9 @@ EAPI Efreet_Menu *efreet_menu_get(void);
100 * @param func function to call when menu is created 100 * @param func function to call when menu is created
101 * @param data user data to return in callback 101 * @param data user data to return in callback
102 * 102 *
103 * @since 1.8 103 * @deprecated
104 */ 104 */
105EAPI void efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data); 105EINA_DEPRECATED EAPI void efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data);
106 106
107/** 107/**
108 * @param path The path of the menu to load 108 * @param path The path of the menu to load