From: Seunghun Lee Date: Thu, 27 Dec 2018 05:30:43 +0000 (+0900) Subject: video: Remove unused function find_offscreen_parent_get(). X-Git-Tag: accepted/tizen/unified/20190109.060108~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=346b009ae9d485db8dd4777df9f413ff6931d3e4;p=platform%2Fupstream%2Fenlightenment.git video: Remove unused function find_offscreen_parent_get(). Change-Id: Iba03b6a0ce3a6e418435c2404651cd04082f25bd --- diff --git a/src/bin/video/e_comp_wl_video.c b/src/bin/video/e_comp_wl_video.c index 41cb698..d6f70a3 100644 --- a/src/bin/video/e_comp_wl_video.c +++ b/src/bin/video/e_comp_wl_video.c @@ -53,29 +53,6 @@ find_video_with_surface(struct wl_resource *surface) return NULL; } -static E_Client * -find_offscreen_parent_get(E_Client *ec) -{ - E_Client *parent = NULL; - - if (!ec->comp_data || !ec->comp_data->sub.data) - return NULL; - - parent = ec->comp_data->sub.data->parent; - while (parent) - { - if (!parent->comp_data || !parent->comp_data->sub.data) - return NULL; - - if (parent->comp_data->sub.data->remote_surface.offscreen_parent) - return parent->comp_data->sub.data->remote_surface.offscreen_parent; - - parent = parent->comp_data->sub.data->parent; - } - - return NULL; -} - static int _e_video_get_prop_id(E_Video *video, const char *name) {