Skip to content

Commit

Permalink
Fix older adwaita tab bars at top of window
Browse files Browse the repository at this point in the history
  • Loading branch information
danudey committed Jan 28, 2025
1 parent 603639a commit a80cf3d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/apprt/gtk/Window.zig
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,7 @@ pub fn init(self: *Window, app: *App) !void {
.top,
.left,
.right,
=> c.gtk_box_prepend(
@ptrCast(box),
@ptrCast(@alignCast(tab_bar)),
),
=> c.gtk_box_insert_child_after(@ptrCast(box), @ptrCast(@alignCast(tab_bar)), @ptrCast(@alignCast(self.headerbar.asWidget()))),

.bottom => c.gtk_box_append(
@ptrCast(box),
Expand Down

0 comments on commit a80cf3d

Please sign in to comment.