From: Seunghun Lee Date: Wed, 8 May 2019 06:46:47 +0000 (+0900) Subject: video: Remove unused attribute 'allow_attribute'. X-Git-Tag: accepted/tizen/unified/20190603.095151~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F206163%2F8;p=platform%2Fupstream%2Fenlightenment.git video: Remove unused attribute 'allow_attribute'. It's handled by 'E_Client_Video' Change-Id: I4fd4daa870ea5c2a3d1916fa55eca0020ceb8ef9 --- diff --git a/src/bin/video/e_comp_wl_video.c b/src/bin/video/e_comp_wl_video.c index ad69028..570a53e 100644 --- a/src/bin/video/e_comp_wl_video.c +++ b/src/bin/video/e_comp_wl_video.c @@ -30,8 +30,6 @@ struct _E_Video E_Client *ec; Ecore_Window window; Ecore_Event_Handler *vis_eh; - - Eina_Bool allowed_attribute; }; static Eina_List *video_list = NULL; @@ -309,12 +307,10 @@ _e_comp_wl_video_object_cb_allowed_attribute(struct wl_client *client, video = wl_resource_get_user_data(resource); EINA_SAFETY_ON_NULL_RETURN(video); - if(!video->ec || video->allowed_attribute) + if(!video->ec) return; VIN("set allowed_attribute"); - - video->allowed_attribute = EINA_TRUE; e_client_video_property_allow(video->ec); } @@ -327,12 +323,10 @@ _e_comp_wl_video_object_cb_disallowed_attribute(struct wl_client *client, video = wl_resource_get_user_data(resource); EINA_SAFETY_ON_NULL_RETURN(video); - if(!video->ec || !video->allowed_attribute) + if(!video->ec) return; VIN("set disallowed_attribute"); - - video->allowed_attribute = EINA_FALSE; e_client_video_property_disallow(video->ec); }