Use common checker to item in flippicker
authorTiago Rezende Campos Falcao <developer@tiagofalcao.com>
Tue, 2 Nov 2010 11:27:13 +0000 (11:27 +0000)
committerTiago Rezende Campos Falcao <developer@tiagofalcao.com>
Tue, 2 Nov 2010 11:27:13 +0000 (11:27 +0000)
SVN revision: 54099

src/lib/elm_flippicker.c

index 720684b6d231b06ef3c4290771ad77a355aad44e..96b90a0018c485c71665207982d0dc200384b4ee 100644 (file)
@@ -74,8 +74,7 @@ static const Evas_Smart_Cb_Description _signals[] = {
 };
 
 #define ELM_FLIPPICKER_ITEM_CHECK_DELETED_RETURN(it, ...)               \
-  ELM_WIDGET_ITEM_CHECK_OR_RETURN((Elm_Widget_Item *)it, __VA_ARGS__); \
-  ELM_CHECK_WIDTYPE(item->base.widget, widtype) __VA_ARGS__;           \
+   ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, __VA_ARGS__);            \
   if (it->deleted)                                                     \
     {                                                                  \
        ERR(""#it" has been DELETED.\n");                               \