Make wlr_signal_emit_safe private

This commit is contained in:
emersion 2018-02-12 19:45:58 +01:00
parent 10ecf871f2
commit 36ead80cd1
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
42 changed files with 41 additions and 42 deletions

View file

@ -16,7 +16,6 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/util/log.h>
#include <wlr/util/signal.h>
#include "rootston/server.h"
#include "rootston/seat.h"
#include "rootston/xcursor.h"
@ -384,7 +383,7 @@ struct roots_subsurface *subsurface_create(struct roots_view *view,
void view_finish(struct roots_view *view) {
view_damage_whole(view);
wlr_signal_emit_safe(&view->events.destroy, view);
wl_signal_emit(&view->events.destroy, view);
wl_list_remove(&view->new_subsurface.link);