bulia byak wrote:
The main main is in main.cpp :) it has no prefixes. It calls Application::run which in turn calls either main_gui or main_console.
The whole init sequence is currently a big pile of spaghetti. In particular, the functions sp_main_gui and sp_main_console should be in different files, because they are called in e.g. application/application.cpp. I will fix this once my patch for GOption that fixes the Windows brain damage lands in a stable Glib release. I just don't want to waste time on sanitizing popt code.
If someone could apply my patch to our devlibs, I could do this sooner, because it doesn't affect Linux or Mac OS X. It's the last non-obsoleted patch on this bug: http://bugzilla.gnome.org/show_bug.cgi?id=522131
Regards, Krzysztof Kosiński.