diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-27 12:24:30 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-27 12:24:30 +0200 |
| commit | ec2c50b33f12b5993eaf764df6fd712b28587dfd (patch) | |
| tree | c78632883122f01a9f940e2402515909f3c8fb4d /example/status.zig | |
| parent | 1b6e6de99e27fce9ed2212ba550bc3b4d9cc03c3 (diff) | |
| download | river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.gz river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.xz | |
deps: update to latest zig-wayland
Diffstat (limited to 'example/status.zig')
| -rw-r--r-- | example/status.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/status.zig b/example/status.zig index 07f255d..76437a4 100644 --- a/example/status.zig +++ b/example/status.zig @@ -33,18 +33,18 @@ pub fn main() !void { var context = SetupContext{}; - registry.setListener(*SetupContext, registryListener, &context) catch unreachable; + registry.setListener(*SetupContext, registryListener, &context); _ = try display.roundtrip(); const status_manager = context.status_manager orelse return error.RiverStatusManagerNotAdvertised; for (context.outputs.items) |output| { const output_status = try status_manager.getRiverOutputStatus(output); - output_status.setListener(?*c_void, outputStatusListener, null) catch unreachable; + output_status.setListener(?*c_void, outputStatusListener, null); } for (context.seats.items) |seat| { const seat_status = try status_manager.getRiverSeatStatus(seat); - seat_status.setListener(?*c_void, seatStatusListener, null) catch unreachable; + seat_status.setListener(?*c_void, seatStatusListener, null); } context.outputs.deinit(); context.seats.deinit(); |
