Fix TC issue 43/134443/2 accepted/tizen/unified/20170616.154408 submit/tizen/20170616.114918
authorSungHyun Min <shyun.min@samsung.com>
Fri, 16 Jun 2017 11:35:55 +0000 (20:35 +0900)
committerSungHyun Min <shyun.min@samsung.com>
Fri, 16 Jun 2017 11:38:01 +0000 (20:38 +0900)
 - temporary solution

Change-Id: I2135356a313e1fdb5faa1b6d979211e6307f7801

ElmSharp/ElmSharp/ItemObject.cs [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 84a1b5e..e9edb74
@@ -208,13 +208,8 @@ namespace ElmSharp
 
         internal static ItemObject GetItemByHandle(IntPtr handle)
         {
-            ItemObject value = null;
+            ItemObject value;
             s_HandleToItemTable.TryGetValue(handle, out value);
-            if (value == null)
-            {
-                int id = (int)Interop.Elementary.elm_object_item_data_get(handle);
-                return GetItemById(id);
-            }
             return value;
         }
 
@@ -250,4 +245,4 @@ namespace ElmSharp
             return s_globalId++;
         }
     }
-}
+}
\ No newline at end of file