Revert "elm_cnp: support return type for _wl_elm_cnp_selection_get()" 98/106298/1 accepted/tizen/3.0/common/20161221.182151 accepted/tizen/3.0/ivi/20161221.104310 accepted/tizen/3.0/mobile/20161221.104041 accepted/tizen/3.0/tv/20161221.104151 accepted/tizen/3.0/wearable/20161221.104207 submit/tizen_3.0/20161221.050821
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 21 Dec 2016 08:43:22 +0000 (17:43 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Wed, 21 Dec 2016 08:44:23 +0000 (17:44 +0900)
This reverts commit beec73b881d004d1d8915675b71cb25fada2d405.
Change-Id: Ia66221f7d3de233e82681464604872be14073193

src/lib/elm_cnp.c

index 3a5328908183129d7bdcd156f5dac5ece64dd1db..9f70d9ac7eea75d9d1c169f87d9da3dc4d7dd75c 100644 (file)
@@ -3094,8 +3094,6 @@ _wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
    Wl_Cnp_Selection *sel = wl_cnp_selections + selection;
    //
 
-   Eina_Bool ret = EINA_FALSE;
-
    _wl_elm_cnp_init();
 
    win = elm_win_wl_window_get(obj);
@@ -3148,10 +3146,10 @@ _wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
 
         if (i < 0) return EINA_FALSE;
 
-        ret = ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
+        ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
      }
 
-   return ret;
+   return EINA_TRUE;
 }
 
 static void