aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-04-17 16:37:06 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-04-17 16:37:06 +0900
commitfa0b1bc4919c7643473f8f4db8b71cfffba7a803 (patch)
treeba584c67a344d933ab85a5dc0b37d0a89fdca0f8 /legacy/elementary/src
parentmultibuttonentry: changed longpress callback name. (diff)
downloadefl-fa0b1bc4919c7643473f8f4db8b71cfffba7a803.tar.gz
multibuttonentry: update longpress signal case.
Since the signal name was changed, usage should be also updated.
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/bin/test_multibuttonentry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/elementary/src/bin/test_multibuttonentry.c b/legacy/elementary/src/bin/test_multibuttonentry.c
index 04c6499d30..98000db0e5 100644
--- a/legacy/elementary/src/bin/test_multibuttonentry.c
+++ b/legacy/elementary/src/bin/test_multibuttonentry.c
@@ -123,10 +123,10 @@ _shrink_state_changed_cb(void *data EINA_UNUSED,
// "longpressed" smart callback
static void
_longpressed_cb(void *data EINA_UNUSED,
- Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info)
{
- printf("longpressed! \n");
+ printf("item = %p longpressed! \n", event_info);
}
@@ -208,7 +208,7 @@ _add_multibuttonentry(Evas_Object *parent)
evas_object_smart_callback_add(mbe, "expanded", _expanded_cb, NULL);
evas_object_smart_callback_add(mbe, "contracted", _contracted_cb, NULL);
evas_object_smart_callback_add(mbe, "shrink,state,changed", _shrink_state_changed_cb, NULL);
- evas_object_smart_callback_add(mbe, "longpressed", _longpressed_cb, NULL);
+ evas_object_smart_callback_add(mbe, "item,longpressed", _longpressed_cb, NULL);
btn = _format_change_btn_add(mbe);
elm_object_part_content_set(parent, "box", btn);