data-device: Eliminate two small helper functions
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 8 May 2013 19:47:52 +0000 (15:47 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 8 May 2013 19:58:49 +0000 (15:58 -0400)
commit5a9fb35c89549ba38a43187c9455bd5d6b6ca94b
tree9b6f88831f223ef700a0fc6ab0c307462a5eca26
parentc43aad1ab4c1e5729e84be539dfb9c065f73b05f
data-device: Eliminate two small helper functions

device_setup_new_drag_surface() and device_release_drag_surface() are both
now fairly small and only called from data_device_start_drag() and
data_device_end_grab() respectively.  Folding the two functions in where
they're called from simplifies the code flow a bit.
src/data-device.c