video:e_comp_wl_video: Remove unused attribute from 'E_Video' 66/206166/7
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 8 May 2019 10:47:16 +0000 (19:47 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 28 May 2019 10:44:31 +0000 (10:44 +0000)
Change-Id: Ie4b5d677a914db62076890a8f4e833fef3bbdc5f

src/bin/video/e_comp_wl_video.c

index 7050ff0..da6f5d9 100644 (file)
@@ -15,9 +15,7 @@ typedef struct _E_Video E_Video;
 struct _E_Video
 {
    struct wl_resource *video_object;
-   struct wl_resource *surface;
    E_Client *ec;
-   Ecore_Window window;
    struct
      {
         Ecore_Event_Handler *ec_visibility;
@@ -85,9 +83,8 @@ _e_video_create(struct wl_resource *video_object, struct wl_resource *surface)
    EINA_SAFETY_ON_NULL_RETURN_VAL(video, NULL);
 
    video->video_object = video_object;
-   video->surface = surface;
 
-   VIN("create. wl_surface@%d", ec, wl_resource_get_id(video->surface));
+   VIN("create.", ec);
 
    video_list = eina_list_append(video_list, video);
 
@@ -110,7 +107,6 @@ _e_video_set(E_Video *video, E_Client *ec)
    const tdm_prop *props;
 
    video->ec = ec;
-   video->window = e_client_util_win_get(ec);
 
    EINA_SAFETY_ON_NULL_RETURN(video->ec->zone);
 
@@ -195,10 +191,9 @@ _e_comp_wl_video_object_cb_set_attribute(struct wl_client *client,
    video = wl_resource_get_user_data(resource);
    EINA_SAFETY_ON_NULL_RETURN(video);
 
-   VIN("Client(%s):PID(%d) RscID(%d) Attribute:%s, Value:%d",
+   VIN("Client(%s):PID(%d) Attribute:%s, Value:%d",
        video->ec, e_client_util_name_get(video->ec) ?: "No Name",
-       video->ec->netwm.pid, wl_resource_get_id(video->surface),
-       name, value);
+       video->ec->netwm.pid, name, value);
 
    // check available property & count
    id = _e_video_get_prop_id(video, name);