seoz pushed a commit to branch master.
commit 57503a93f9bb44839ddc9a728e822ac78d82cc32
Author: Daniel Juyung Seo <[email protected]>
Date: Fri Aug 23 20:09:05 2013 +0900
test.c: removed unnecessary callback add. changed callback function name
properly.
---
src/bin/test.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/bin/test.c b/src/bin/test.c
index 02945f5..570506c 100644
--- a/src/bin/test.c
+++ b/src/bin/test.c
@@ -330,7 +330,7 @@ _menu_create(const char *option_str)
}
static void
-_entry_activated_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info
__UNUSED__)
+_entry_changed_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info
__UNUSED__)
{
const char *str = elm_entry_entry_get(obj);
if (!str) return;
@@ -479,8 +479,7 @@ my_win_main(const char *autorun, Eina_Bool test_win_only)
elm_entry_scrollable_set(en, EINA_TRUE);
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
- //evas_object_smart_callback_add(en, "activated", _entry_activated_cb,
NULL);
- evas_object_smart_callback_add(en, "changed,user", _entry_activated_cb,
NULL);
+ evas_object_smart_callback_add(en, "changed,user", _entry_changed_cb, NULL);
elm_box_pack_end(bx1, en);
evas_object_show(en);
elm_object_focus_set(en, EINA_TRUE);
--
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk