summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_menu.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/efreet/efreet_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index 713cfe981e..9959f0366a 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -522,9 +522,9 @@ efreet_menu_file_set(const char *file)
522} 522}
523 523
524EAPI void 524EAPI void
525efreet_menu_async_get(Efreet_Menu_Cb func, void *data) 525efreet_menu_async_get(Efreet_Menu_Cb func, const void *data)
526{ 526{
527 efreet_menu_internal_get(func, data); 527 efreet_menu_internal_get(func, (void*)data);
528} 528}
529 529
530EAPI Efreet_Menu * 530EAPI Efreet_Menu *
@@ -534,13 +534,13 @@ efreet_menu_get(void)
534} 534}
535 535
536EAPI void 536EAPI void
537efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, void *data) 537efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data)
538{ 538{
539 Efreet_Menu_Async *async; 539 Efreet_Menu_Async *async;
540 540
541 async = NEW(Efreet_Menu_Async, 1); 541 async = NEW(Efreet_Menu_Async, 1);
542 async->func = func; 542 async->func = func;
543 async->data = data; 543 async->data = (void*)data;
544 async->path = eina_stringshare_add(path); 544 async->path = eina_stringshare_add(path);
545 ecore_thread_run(_efreet_menu_async_parse_cb, NULL, NULL, async); 545 ecore_thread_run(_efreet_menu_async_parse_cb, NULL, NULL, async);
546} 546}