elementary/gengrid - removed a line unuseful exception handling
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 10 Feb 2011 04:24:57 +0000 (04:24 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 10 Feb 2011 04:24:57 +0000 (04:24 +0000)
this is patched by JungHyun Yoon.

SVN revision: 56889

src/lib/elm_gengrid.c

index 9140f64f6404a80f19d4c3afc737e7ee75f00d36..bb8b692c6eaaa2c05237d9bbe21d4754e6ba1d7f 100644 (file)
@@ -2206,7 +2206,7 @@ elm_gengrid_item_selected_set(Elm_Gengrid_Item *item,
    ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(item);
    Widget_Data *wd = item->wd;
    if (!wd) return;
-   if ((!item) || (item->delete_me)) return;
+   if (item->delete_me) return;
    selected = !!selected;
    if (item->selected == selected) return;