genlist: fix wrong returns in window tooltip set. 26/199526/1 accepted/tizen/unified/20190214.060613 submit/tizen/20190213.001307 submit/tizen/20190213.060634 submit/tizen/20190213.062652
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 12 Feb 2019 11:09:20 +0000 (20:09 +0900)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 12 Feb 2019 11:09:25 +0000 (20:09 +0900)
tooltip_window_mode_set returns input disable value not a successibility of API actions.
when user set window_mode to false, it must return false regardless of item view existence.

this patch is port of uptream patch D7912

Change-Id: Iee4ee1c522005f6087ef6bfba7f1628b834834ac

src/lib/elementary/elm_genlist.c
src/lib/elementary_tizen/elm_genlist.c

index ed1e3dc..c338ed6 100644 (file)
@@ -8069,7 +8069,7 @@ _elm_genlist_item_elm_widget_item_tooltip_window_mode_set(Eo *eo_it, Elm_Gen_Ite
         return ret;
      }
 
-   return EINA_TRUE;
+   return disable;
 }
 
 EAPI Eina_Bool
index 6680291..84c0103 100644 (file)
@@ -8360,7 +8360,7 @@ _elm_genlist_item_elm_widget_item_tooltip_window_mode_set(Eo *eo_it, Elm_Gen_Ite
         return ret;
      }
 
-   return EINA_TRUE;
+   return disable;
 }
 
 EAPI Eina_Bool