Refactor XournalMain.cpp to respect GtkApplication's signal guidelines
Author: bhennionCreated Sep 26, 2026Updated Sep 26, 2026
Reading the GTK-4's GtkApplication doc, I understood that our XournalMain.cpp does not respect the intents of the GApplication's signals (activate, open, startup, ...).
It seems to work fine on our supported platforms, but it does not work on Android (with GTK-4), see this post.
We should make a little refactoring (it shouldn't be too hard) to comply with the signals' intent.
Source: xournalpp/xournalpp