Eina_Bool loop_exists:1;
} Elm_Params_Slideshow;
-static const char *transitions[] = { "fade", "black_fade", "horizontal", "vertical",
- "square"};
+static const char *transitions[] = { "fade", "black_fade", "horizontal",
+ "vertical", "square", NULL};
static void
external_slideshow_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
EAPI const char *
elm_slideshow_transition_get(const Evas_Object *obj)
{
- ELM_CHECK_WIDTYPE(obj, widtype);
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return NULL;
return wd->transition;
EAPI Eina_Bool
elm_slideshow_loop_get(const Evas_Object *obj)
{
- ELM_CHECK_WIDTYPE(obj, widtype);
+ ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return EINA_FALSE;
return wd->loop;