From fac6b9c269b97a324270eeda814e5687ef89b9cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Thu, 24 Nov 2022 22:28:07 +0200
Subject: [PATCH 1/1] Fixed build
This code is in use...
src/app.c | 2 --
src/app.h | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/app.c b/src/app.c
index f2c049f8..057c8d1b 100644
--- a/src/app.c
+++ b/src/app.c
@@ -2362,7 +2362,6 @@ size_t windowIndex_App(const iMainWindow *win) {
return indexOf_PtrArray(&app_.mainWindows, win);
}
-#if 0
iMainWindow *newMainWindow_App(void) {
iApp *d = &app_;
iMainWindow *newWin = new_MainWindow(initialWindowRect_App_(d, numWindows_App()));
@@ -2377,7 +2376,6 @@ iMainWindow *newMainWindow_App(void) {
}
return newWin;
}
-#endif
const iPtrArray *mainWindows_App(void) {
return &app_.mainWindows;
diff --git a/src/app.h b/src/app.h
index 3754ae9c..d5a49c73 100644
--- a/src/app.h
+++ b/src/app.h
@@ -138,7 +138,7 @@ void setActiveWindow_App (iMainWindow *win);
void closeWindow_App (iMainWindow *win);
size_t numWindows_App (void);
size_t windowIndex_App (const iMainWindow *win);
-//iMainWindow *newMainWindow_App (void);
+iMainWindow *newMainWindow_App (void);
const iPtrArray *mainWindows_App(void);
iMainWindow * mainWindow_App (void); /* currently active main window */
void addPopup_App (iWindow *popup);
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).