data-device: Change resources in wl_data_offer and wl_data_source to pointers.
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 14 Jun 2013 15:07:55 +0000 (10:07 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 21 Jun 2013 03:54:29 +0000 (23:54 -0400)
commit8a4a9eb2e4c6c6c0ba98e2d3afdb796f8745eaa5
tree6c86c1c39ae8f8bb7d5ac218a8aaf3f470477b0d
parent1fd4b01d1013f81e79acea034bd00f47e54ba1b0
data-device: Change resources in wl_data_offer and wl_data_source to pointers.

Because of its links to selection.c and xwayland, a destroy_signal field
was also added to wl_data_source.  Before selection.c and xwayland were
manually initializing the resource.destroy_signal field so that it could be
used without a valid resource.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/clipboard.c
src/compositor.h
src/data-device.c
src/xwayland/selection.c