From d36e11c6fc21817ab81885b32ccd670949023327 Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 17 Jul 2011 21:39:26 +0000 Subject: [PATCH] emotion: remove useless code. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61453 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/emotion_smart.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/emotion_smart.c b/src/lib/emotion_smart.c index 3c1f3af..986e3d1 100644 --- a/src/lib/emotion_smart.c +++ b/src/lib/emotion_smart.c @@ -299,14 +299,6 @@ emotion_object_module_option_set(Evas_Object *obj, const char *opt, const char * E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); if ((!opt) || (!val)) return; - if (!strcmp(opt, "video")) - { - if (!strcmp(val, "off")) sd->module_options.no_video = EINA_TRUE; - } - else if (!strcmp(opt, "audio")) - { - if (!strcmp(val, "off")) sd->module_options.no_audio = EINA_TRUE; - } } EAPI Eina_Bool -- 2.7.4