From 345c54105a02503d7997fcf0141376eca02f8d49 Mon Sep 17 00:00:00 2001 From: lotherk Date: Sun, 22 Nov 2026 15:04:37 +0100 Subject: [PATCH] dtsystemsettings: no call to the removed Startup Disk pane The Startup Disk pane was taken out of the pane table (Konrad, 2026-11-21), but ShowPane still had the branch that called MakeStartupDisk, and startupdisk.c is no longer built. A full `pkgchroot force wm/mcde' therefore failed at link: "dtsystemsettings-main.o: undefined reference to MakeStartupDisk" (measured 2026-11-22, the MacBook build). The branch is gone; the id stays in PaneMsg's stable list, the declaration in ui.h says why the file is still in the tree. --- programs/dtsystemsettings/main.c | 3 --- programs/dtsystemsettings/ui.h | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/programs/dtsystemsettings/main.c b/programs/dtsystemsettings/main.c index 1a342ecb..cff57ef4 100644 --- a/programs/dtsystemsettings/main.c +++ b/programs/dtsystemsettings/main.c @@ -1110,9 +1110,6 @@ ShowPane(const Pane *p) else if (strcmp(p->id, "printers") == 0) { w = MakePrinters(paneArea); } - else if (strcmp(p->id, "startupdisk") == 0) { - w = MakeStartupDisk(paneArea); - } else if (strcmp(p->id, "sysinfo") == 0) { w = MakeSysinfo(paneArea); } diff --git a/programs/dtsystemsettings/ui.h b/programs/dtsystemsettings/ui.h index 6dfe2912..5d700cd5 100644 --- a/programs/dtsystemsettings/ui.h +++ b/programs/dtsystemsettings/ui.h @@ -88,8 +88,9 @@ Widget MakeDefaults(Widget parent); int OpenWebCommand(const char *arg); /* what this computer is (sysinfo.c): Hardware | Network | Software */ Widget MakeSysinfo(Widget parent); -/* the Startup Disk pane (startupdisk.c) */ -Widget MakeStartupDisk(Widget parent); +/* The Startup Disk pane was removed (Konrad, 2026-11-21): the volumes and + * the system's own device are in System Information. startupdisk.c stays in + * the tree for its history but is not built. */ int SetDefaultPrinterCommand(const char *name); int AddPrinterCommand(const char *name, const char *uri); int RemovePrinterCommand(const char *name);