Skip to content

Commit 54fe54f

Browse files
committed
apprt/gtk: fix build errors
1 parent f3352dd commit 54fe54f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/apprt/gtk/class/application.zig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ pub const Application = extern struct {
11111111
self.syncActionAccelerator("win.split-down", .{ .new_split = .down });
11121112
self.syncActionAccelerator("win.split-left", .{ .new_split = .left });
11131113
self.syncActionAccelerator("win.split-up", .{ .new_split = .up });
1114-
self.syncActionAccelerator("win.copy", .{ .copy_to_clipboard = {} });
1114+
self.syncActionAccelerator("win.copy", .{ .copy_to_clipboard = .mixed });
11151115
self.syncActionAccelerator("win.paste", .{ .paste_from_clipboard = {} });
11161116
self.syncActionAccelerator("win.reset", .{ .reset = {} });
11171117
self.syncActionAccelerator("win.clear", .{ .clear_screen = {} });

‎src/apprt/gtk/class/window.zig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ pub const Window = extern struct {
18011801
_: ?*glib.Variant,
18021802
self: *Window,
18031803
) callconv(.c) void {
1804-
self.performBindingAction(.copy_to_clipboard);
1804+
self.performBindingAction(.{ .copy_to_clipboard = .mixed });
18051805
}
18061806

18071807
fn actionPaste(

0 commit comments

Comments
 (0)