From ef4baea0e2f799c7bdd2e077dac4174fa31e85df Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 18 Aug 2022 07:16:16 -0400 Subject: Use wl_signal_emit_mutable --- render/allocator/allocator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'render/allocator') diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c index 00dadd29..b380584c 100644 --- a/render/allocator/allocator.c +++ b/render/allocator/allocator.c @@ -14,7 +14,6 @@ #include "render/allocator/drm_dumb.h" #include "render/allocator/shm.h" #include "render/wlr_renderer.h" -#include "util/signal.h" #if WLR_HAS_GBM_ALLOCATOR #include "render/allocator/gbm.h" @@ -159,7 +158,7 @@ void wlr_allocator_destroy(struct wlr_allocator *alloc) { if (alloc == NULL) { return; } - wlr_signal_emit_safe(&alloc->events.destroy, NULL); + wl_signal_emit_mutable(&alloc->events.destroy, NULL); alloc->impl->destroy(alloc); } -- cgit v1.2.3