summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-21 19:42:52 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-21 19:42:52 +0900
commitaf1b76f4ef5d069a8f38db2ea7386c3e35a786dd (patch)
treec29875ab62c52b92a7c49943b616e7e102a96046
parent0766e7b9fddf76e2b7abac255e8230af70d0baa1 (diff)
elm_menu.c: adopted new signal macro for menu.
-rw-r--r--src/lib/elm_menu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/elm_menu.c b/src/lib/elm_menu.c
index f340180a1..44b4a749f 100644
--- a/src/lib/elm_menu.c
+++ b/src/lib/elm_menu.c
@@ -13,9 +13,13 @@ EAPI Eo_Op ELM_OBJ_MENU_BASE_ID = EO_NOOP;
13 13
14#define MY_CLASS_NAME "elm_menu" 14#define MY_CLASS_NAME "elm_menu"
15 15
16static const char SIG_CLICKED[] = "clicked"; 16#define ELM_PRIV_MENU_SIGNALS(cmd) \
17 cmd(SIG_CLICKED, "clicked", "")
18
19ELM_PRIV_MENU_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE);
20
17static const Evas_Smart_Cb_Description _smart_callbacks[] = { 21static const Evas_Smart_Cb_Description _smart_callbacks[] = {
18 {SIG_CLICKED, ""}, 22 ELM_PRIV_MENU_SIGNALS(ELM_PRIV_SMART_CALLBACKS_DESC)
19 {NULL, NULL} 23 {NULL, NULL}
20}; 24};
21 25