summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2013-01-14 12:20:57 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2013-01-14 12:20:57 +0000
commit18ec9874b785471bee6daa7ab7f722d8f15e5fcd (patch)
tree291befd500c6f44e1c437dbd26cb18ab9f9edf73
parent7659bfbd83cceb899eb7aef8d8e23a3f931f0467 (diff)
elm/thumb: Make sure we also build without ethumb.
Patch by Tasn. SVN revision: 82758
-rw-r--r--src/lib/elm_thumb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index f97fd1902..c4c45e8e6 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -754,6 +754,8 @@ _animate_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
754 754
755 sd->anim_setting = setting; 755 sd->anim_setting = setting;
756 756
757
758#ifdef HAVE_ELEMENTARY_ETHUMB
757 if ((sd->is_video) && (sd->thumb.format == ETHUMB_THUMB_EET)) 759 if ((sd->is_video) && (sd->thumb.format == ETHUMB_THUMB_EET))
758 { 760 {
759 if (setting == ELM_THUMB_ANIMATION_LOOP) 761 if (setting == ELM_THUMB_ANIMATION_LOOP)
@@ -763,6 +765,7 @@ _animate_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
763 else if (setting == ELM_THUMB_ANIMATION_STOP) 765 else if (setting == ELM_THUMB_ANIMATION_STOP)
764 edje_object_signal_emit(sd->view, "animate_stop", ""); 766 edje_object_signal_emit(sd->view, "animate_stop", "");
765 } 767 }
768#endif
766} 769}
767 770
768EAPI Elm_Thumb_Animation_Setting 771EAPI Elm_Thumb_Animation_Setting