aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/wlr/types/wlr_screenshooter.h4
-rw-r--r--types/wlr_screenshooter.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/include/wlr/types/wlr_screenshooter.h b/include/wlr/types/wlr_screenshooter.h
index e8b59669..4c66be3f 100644
--- a/include/wlr/types/wlr_screenshooter.h
+++ b/include/wlr/types/wlr_screenshooter.h
@@ -9,10 +9,6 @@ struct wlr_screenshooter {
struct wl_listener display_destroy;
- struct {
- struct wl_signal destroy;
- } events;
-
void *data;
};
diff --git a/types/wlr_screenshooter.c b/types/wlr_screenshooter.c
index 8939f073..4d591c45 100644
--- a/types/wlr_screenshooter.c
+++ b/types/wlr_screenshooter.c
@@ -164,7 +164,6 @@ void wlr_screenshooter_destroy(struct wlr_screenshooter *screenshooter) {
if (!screenshooter) {
return;
}
- wl_signal_emit(&screenshooter->events.destroy, screenshooter);
wl_list_remove(&screenshooter->display_destroy.link);
struct wlr_screenshot *screenshot, *tmp;
wl_list_for_each_safe(screenshot, tmp, &screenshooter->screenshots, link) {
@@ -190,7 +189,6 @@ struct wlr_screenshooter *wlr_screenshooter_create(struct wl_display *display,
screenshooter->renderer = renderer;
wl_list_init(&screenshooter->screenshots);
- wl_signal_init(&screenshooter->events.destroy);
screenshooter->display_destroy.notify = handle_display_destroy;
wl_display_add_destroy_listener(display, &screenshooter->display_destroy);