Elementary slideshow: Fixed warnings. Removed unnecessary line.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 May 2011 12:59:57 +0000 (12:59 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 May 2011 12:59:57 +0000 (12:59 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59309 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_slideshow.c

index 8d68ad7..e15622b 100644 (file)
@@ -971,7 +971,7 @@ elm_slideshow_cache_after_set(Evas_Object *obj, int count)
 EAPI Elm_Slideshow_Item *
 elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype);
+   ELM_CHECK_WIDTYPE(obj, widtype) NULL;
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return NULL;
    return eina_list_nth(wd->items, nth);
@@ -988,9 +988,8 @@ elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth)
 EAPI unsigned int
 elm_slideshow_count_get(const Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype);
+   ELM_CHECK_WIDTYPE(obj, widtype) 0;
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return 0;
    return eina_list_count(wd->items);
 }
-