aboutsummaryrefslogtreecommitdiff
path: root/src/wl/callback.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl/callback.zig')
-rw-r--r--src/wl/callback.zig6
1 files changed, 3 insertions, 3 deletions
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;