update gobject, fix compiler errors

pull/6699/head
Mitchell Hashimoto 2025-03-12 12:32:34 -07:00
parent 816ff8cef0
commit 18084a3e61
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
2 changed files with 5 additions and 4 deletions

View File

@ -52,9 +52,10 @@
.hash = "zf-0.10.3-OIRy8bKIAACV6JaNNncXA68Nw2BUAD9JVfQdzjyoZQ-J",
},
.gobject = .{
// ianprime0509/zig-gobject
.url = "https://deps.files.ghostty.org/gobject-12208d70ee791d7ef7e16e1c3c9c1127b57f1ed066a24f87d57fc9f730c5dc394b9d.tar.zst",
.hash = "gobject-0.2.2-AAAAAHy2bwGNcO55HX734W4cPJwRJ7V_HtBmok-H1X_J",
// https://github.com/jcollie/ghostty-gobject based on zig_gobject
// Temporary until we generate them at build time automatically.
.url = "https://github.com/jcollie/ghostty-gobject/releases/download/0.14.0-2025-03-11-16-1/ghostty-gobject-0.14.0-2025-03-11-16-1.tar.gz",
.hash = "gobject-0.2.0-Skun7H6DlQDWCiNQtdE5TXYcCvx7MyjW01OQe5M_n_jV",
},
// C libs

View File

@ -342,7 +342,7 @@ pub const Window = struct {
&actual_format_return,
&nitems_return,
&bytes_after_return,
&prop_return,
@ptrCast(&prop_return),
);
if (code != c.Success) return error.RequestFailed;