aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Walklin <ryan@testtoast.com>2018-11-25 14:43:22 +0100
committerRyan Walklin <ryan@crackotage.local>2018-12-15 14:42:35 +1100
commitcc656670b29dbf53e7c56162daa3bf64fd2ddd14 (patch)
treecda688bd7e79a2611d5028d8171bdab6dfe1ba49
parent2a7edfa24c973d3797aaa22e1a593cb1356eda94 (diff)
Remove redundant signal in seat.c
-rw-r--r--rootston/seat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 101c4ebe..33f27312 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -751,8 +751,6 @@ static void seat_add_switch(struct roots_seat *seat,
lid_switch->toggle.notify = handle_switch_toggle;
wl_signal_add(&lid_switch->device->lid_switch->events.toggle, &lid_switch->toggle);
-
- wl_signal_add(&lid_switch->device->events.destroy, &lid_switch->device_destroy);
}
static void handle_touch_destroy(struct wl_listener *listener, void *data) {