Emotion: make it build without eeze
authorbdilly <bdilly>
Thu, 10 Nov 2011 12:11:52 +0000 (12:11 +0000)
committerbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Nov 2011 12:11:52 +0000 (12:11 +0000)
Please, Cedric, check if it's ok.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@65020 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_main.c

index cca6491..54748f0 100644 (file)
@@ -352,9 +352,11 @@ emotion_shutdown(void)
 
    EINA_LIST_FREE(_emotion_webcams->webcams, ew)
      {
+#ifdef EMOTION_HAVE_EEZE
         /* There is currently no way to refcount from the outside, this help, but could lead to some issue */
         EINA_REFCOUNT_UNREF(ew)
           emotion_webcam_destroy(ew);
+#endif
      }
    free(_emotion_webcams);
    _emotion_webcams = NULL;