libweston: Fix rename of weston_compositor_destroy() reference
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 23 Aug 2019 14:42:40 +0000 (17:42 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 17 Oct 2019 16:42:54 +0000 (19:42 +0300)
Commit 284d5345ad38d introduced a new tear_down function for the
compositor, it seems we missed a comment reference for it.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
libweston/compositor.c

index 88ca7383d94ed995bdc63db68422fc6ba5cfbe85..d20dfe7ee785ee66725ebe9b7c75ed28b2eb43ed 100644 (file)
@@ -6499,7 +6499,7 @@ weston_compositor_create_output_with_head(struct weston_compositor *compositor,
  * The heads attached to the given output are detached and become unused again.
  *
  * It is not necessary to explicitly destroy all outputs at compositor exit.
- * weston_compositor_destroy() will automatically destroy any remaining
+ * weston_compositor_tear_down() will automatically destroy any remaining
  * outputs.
  *
  * \ingroup ouput