properly #ifdef out entire function

SVN revision: 69445
This commit is contained in:
Mike Blumenkrantz 2012-03-16 03:35:14 +00:00
parent ac56404920
commit d45d7a6532
1 changed files with 2 additions and 6 deletions

View File

@ -451,11 +451,11 @@ _double_to_time(double value)
}
#endif
#ifdef HAVE_EMOTION
static void
_content_set_hook(Evas_Object *obj, const char *part, Evas_Object *content)
{
if (part && strcmp(part, "video")) return;
#ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
@ -514,12 +514,8 @@ _content_set_hook(Evas_Object *obj, const char *part, Evas_Object *content)
_play_finished, obj);
/* FIXME: track info from video */
#else
(void) obj;
(void) content;
#endif
}
#endif
EAPI Evas_Object *
elm_player_add(Evas_Object *parent)