Rename client side wl_display_destroy() to wl_display_disconnect()
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 27 Feb 2012 16:10:03 +0000 (17:10 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 28 Feb 2012 19:23:58 +0000 (14:23 -0500)
commitbf5a8fbb98282a607ba9120516985d17858b63a4
tree9c612224ba765de01099b01e3d9231a7ab6e01fe
parenta676b8f2576ff85cbdbcf5b443214c0ebd5a5abd
Rename client side wl_display_destroy() to wl_display_disconnect()

This avoids the clash with the wayland-server version with the same
name, and allows linking against both wayland-client and wayland-server
at the same time, which can be useful for unit testing purposes as
well as for nested compositing.

Without this there will be crashes as the wrong wl_display_destroy()
is called.
src/wayland-client.c
src/wayland-client.h