From 4377b5529279aa9dab64256d22ad0f2e9009843c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 29 Jun 2021 19:12:50 +0200 Subject: util/global: remove wl_display arg from wlr_global_destroy_safe Since [1], we can get the wl_display directly from the wl_global. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/commit/2b22160fb690a76247aa9bd0be3069ff43e8239f --- include/util/global.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/util/global.h b/include/util/global.h index ea0fda83..1c979ab1 100644 --- a/include/util/global.h +++ b/include/util/global.h @@ -9,7 +9,6 @@ * Globals that are created and destroyed on the fly need special handling to * prevent race conditions with wl_registry. Use this function to destroy them. */ -void wlr_global_destroy_safe(struct wl_global *global, - struct wl_display *display); +void wlr_global_destroy_safe(struct wl_global *global); #endif -- cgit v1.2.3