gtk: always set the title on the underlying window when using adwaita (#5173)

Fixes #5140
This commit is contained in:
Mitchell Hashimoto
2025-01-20 10:16:03 -08:00
committed by GitHub

View File

@ -65,6 +65,7 @@ pub fn packStart(self: HeaderBarAdw, widget: *c.GtkWidget) void {
}
pub fn setTitle(self: HeaderBarAdw, title: [:0]const u8) void {
c.gtk_window_set_title(self.window.window, title);
if (comptime adwaita.versionAtLeast(0, 0, 0)) {
c.adw_window_title_set_title(self.title, title);
}