devilhorns pushed a commit to branch master.

commit 77e6d1c8e1762a763c19e065a8bdc7240b3dba49
Author: Chris Michael <[email protected]>
Date:   Fri Jun 28 06:50:26 2013 +0100

    Update unbind of the data device to use wl_resource_get_link.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 2b3bbe8..f281702 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1121,7 +1121,7 @@ _create_data_source(struct wl_client *client, struct 
wl_resource *resource, uint
 static void 
 _unbind_data_device(struct wl_resource *resource)
 {
-   wl_list_remove(&resource->link);
+   wl_list_remove(wl_resource_get_link(resource));
    free(resource);
 }
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to