video: Remove unused function find_offscreen_parent_get(). 12/196312/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 27 Dec 2018 05:30:43 +0000 (14:30 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 27 Dec 2018 05:30:43 +0000 (14:30 +0900)
Change-Id: Iba03b6a0ce3a6e418435c2404651cd04082f25bd

src/bin/video/e_comp_wl_video.c

index 41cb698..d6f70a3 100644 (file)
@@ -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)
 {