From 9f22544959292af0b695f57642c4d8d103d6ccdb Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Fri, 20 May 2016 13:58:31 +0900 Subject: [PATCH] elc_ctxpopup: fix auto-hide property setting Set and get functions are inconsistent one with the other. When set function is used with a certain value, one expects the get function to return this value. Change-Id: I142ffa6dbce51e7bb63cbbb59836d4781c1f2872 --- src/lib/elc_ctxpopup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index f6ce131..50d4550 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -1393,7 +1393,7 @@ _elm_ctxpopup_auto_hide_disabled_set(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd, EOLIAN static Eina_Bool _elm_ctxpopup_auto_hide_disabled_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { - return sd->auto_hide; + return !sd->auto_hide; } EOLIAN static void -- 2.7.4