From be3e33171f60ce5ae9cbb1a3f0d6ccc922b6cb33 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Tue, 13 May 2014 15:50:05 +0900 Subject: [PATCH] entry: Fix a test case for editable, non-editable entry. Summary: elm_entry_context_menu_disabled_set API is called to wrong entry. It should be called to "en2" that added for testing the API. @fix Test Plan: 1. elementary -to entry7 Reviewers: woohyun, seoz, tasn Reviewed By: seoz CC: herdsman Differential Revision: https://phab.enlightenment.org/D852 --- legacy/elementary/src/bin/test_entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/bin/test_entry.c b/legacy/elementary/src/bin/test_entry.c index 7f7ea00..9f08ed4 100644 --- a/legacy/elementary/src/bin/test_entry.c +++ b/legacy/elementary/src/bin/test_entry.c @@ -2190,7 +2190,7 @@ test_entry7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in "" ); elm_entry_item_provider_append(en2, item_provider, NULL); - elm_entry_context_menu_disabled_set(en, EINA_TRUE); + elm_entry_context_menu_disabled_set(en2, EINA_TRUE); elm_grid_pack(gd, en2, 10, 50, 45, 30); evas_object_show(en2); -- 2.7.4