aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-04-27 12:24:30 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-04-27 12:24:30 +0200
commitec2c50b33f12b5993eaf764df6fd712b28587dfd (patch)
treec78632883122f01a9f940e2402515909f3c8fb4d /example
parent1b6e6de99e27fce9ed2212ba550bc3b4d9cc03c3 (diff)
downloadriver-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.gz
river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.xz
deps: update to latest zig-wayland
Diffstat (limited to 'example')
-rw-r--r--example/status.zig6
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();