emotion: remove useless code.
authorcedric <cedric>
Sun, 17 Jul 2011 21:39:26 +0000 (21:39 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jul 2011 21:39:26 +0000 (21:39 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61453 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_smart.c

index 3c1f3af..986e3d1 100644 (file)
@@ -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