apprt/gtk: use new get effective title

This commit is contained in:
Mitchell Hashimoto
2026-02-26 07:18:37 -08:00
parent c4766dff77
commit 9fe3cc125d

View File

@@ -691,7 +691,7 @@ const Command = extern struct {
defer surface.unref();
const alloc = priv.arena.allocator();
const effective_title = surface.getTitleOverride() orelse surface.getTitle() orelse "Untitled";
const effective_title = surface.getEffectiveTitle() orelse "Untitled";
j.title = std.fmt.allocPrintSentinel(
alloc,
@@ -717,7 +717,7 @@ const Command = extern struct {
defer surface.unref();
const alloc = priv.arena.allocator();
const title = surface.getTitleOverride() orelse surface.getTitle() orelse "Untitled";
const title = surface.getEffectiveTitle() orelse "Untitled";
const pwd = surface.getPwd();
if (pwd) |p| {