From 4feb8c7dab2b0a3492b8248ee12c3f0a475106f1 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 29 Aug 2025 18:21:48 +0200 Subject: Use wayland.Context instead of *const wayland.Context --- src/wl/callback.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wl/callback.zig') diff --git a/src/wl/callback.zig b/src/wl/callback.zig index 24927b4..ad2d192 100644 --- a/src/wl/callback.zig +++ b/src/wl/callback.zig @@ -13,7 +13,7 @@ handle: wayland.Object.Ref, pub fn init( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, is_done: *bool, ) !void { self.is_done = is_done; @@ -25,11 +25,11 @@ pub fn init( } -pub fn deinit(self: *Self, ctx: *const wayland.Context) void { +pub fn deinit(self: *Self, ctx: wayland.Context) void { ctx.display.registry.disable_object(self.handle); } -fn done(self: *Self, ctx: *const wayland.Context, value: u32) void { +fn done(self: *Self, ctx: wayland.Context, value: u32) void { _ = value; _ = ctx; self.is_done.* = true; -- cgit v1.2.3-70-g09d2