aboutsummaryrefslogtreecommitdiff
path: root/render/allocator/allocator.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-18 07:16:16 -0400
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-18 07:16:16 -0400
commitef4baea0e2f799c7bdd2e077dac4174fa31e85df (patch)
treed71e1399e64b9e5bcdda1d52246c90eca15cf150 /render/allocator/allocator.c
parent013f121f455efcc1e68e98c60c74aadfb51fd98e (diff)
Use wl_signal_emit_mutable
Diffstat (limited to 'render/allocator/allocator.c')
-rw-r--r--render/allocator/allocator.c3
1 files changed, 1 insertions, 2 deletions
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);
}