summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_menu.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-21 09:50:03 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-21 09:50:03 +0100
commit51246fff6828e1d179c43b32895bb830b537f7d8 (patch)
treee2df36db32ba3c169eb1ccf02ab88d8d70aebf16 /src/lib/efreet/efreet_menu.h
parentaa8565b372c0a2a6a828b624d32a5b69e70bdd7c (diff)
efreet menu cbs don't return a value and take const data params
Diffstat (limited to '')
-rw-r--r--src/lib/efreet/efreet_menu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/efreet/efreet_menu.h b/src/lib/efreet/efreet_menu.h
index fa58692cd2..c525afd884 100644
--- a/src/lib/efreet/efreet_menu.h
+++ b/src/lib/efreet/efreet_menu.h
@@ -49,7 +49,7 @@ struct Efreet_Menu
49 * 49 *
50 * @since 1.8 50 * @since 1.8
51 */ 51 */
52typedef void *(*Efreet_Menu_Cb) (void *data, Efreet_Menu *menu); 52typedef void (*Efreet_Menu_Cb) (void *data, Efreet_Menu *menu);
53 53
54/** 54/**
55 * @return Returns no value 55 * @return Returns no value
@@ -83,7 +83,7 @@ EAPI void efreet_menu_file_set(const char *file);
83 * 83 *
84 * @since 1.8 84 * @since 1.8
85 */ 85 */
86EAPI void efreet_menu_async_get(Efreet_Menu_Cb func, void *data); 86EAPI void efreet_menu_async_get(Efreet_Menu_Cb func, const void *data);
87 87
88/** 88/**
89 * @return Returns the Efreet_Menu representation of the default menu or 89 * @return Returns the Efreet_Menu representation of the default menu or
@@ -101,7 +101,7 @@ EAPI Efreet_Menu *efreet_menu_get(void);
101 * 101 *
102 * @since 1.8 102 * @since 1.8
103 */ 103 */
104EAPI void efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, void *data); 104EAPI void efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data);
105 105
106/** 106/**
107 * @param path The path of the menu to load 107 * @param path The path of the menu to load