diff options
author | SungHyun Min <shyun.min@samsung.com> | 2017-06-16 20:35:55 +0900 |
---|---|---|
committer | SungHyun Min <shyun.min@samsung.com> | 2017-06-16 20:38:01 +0900 |
commit | 2abbf5c5e0eab986c03e7b44c6892c8f60921ad4 (patch) | |
tree | ace31759e7daab411b80780ee044679453ea3736 /ElmSharp | |
parent | 9946e29c4e8c57f72b311fcf249d011ae8314005 (diff) | |
download | elm-sharp-2abbf5c5e0eab986c03e7b44c6892c8f60921ad4.tar.gz elm-sharp-2abbf5c5e0eab986c03e7b44c6892c8f60921ad4.tar.bz2 elm-sharp-2abbf5c5e0eab986c03e7b44c6892c8f60921ad4.zip |
- temporary solution
Change-Id: I2135356a313e1fdb5faa1b6d979211e6307f7801
Diffstat (limited to 'ElmSharp')
-rwxr-xr-x[-rw-r--r--] | ElmSharp/ElmSharp/ItemObject.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ElmSharp/ElmSharp/ItemObject.cs b/ElmSharp/ElmSharp/ItemObject.cs index 84a1b5e..e9edb74 100644..100755 --- a/ElmSharp/ElmSharp/ItemObject.cs +++ b/ElmSharp/ElmSharp/ItemObject.cs @@ -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 |