elementary: Fix build break
authormike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 6 Jul 2011 04:25:02 +0000 (04:25 +0000)
committermike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 6 Jul 2011 04:25:02 +0000 (04:25 +0000)
Probably from @61053

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@61064 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_video.c

index c2c2305..07e4501 100644 (file)
@@ -254,8 +254,13 @@ _suspend_cb(void *data)
 Eina_Bool
 _elm_video_check(Evas_Object *video)
 {
+#ifdef HAVE_EMOTION
   ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE;
   return EINA_TRUE;
+#else
+  (void) video;
+  return EINA_FALSE;
+#endif
 }
 
 EAPI Evas_Object *