The bug references a fix, but the URL is now dead. Having said that, I have found other similar questions on the web. Which leads me to a question.
Does anyone know why this line is in configure.ac?
SYNFIG_LIBS="`echo $SYNFIG_LIBS | sed s/-mno-cygwin//g | sed s/-mwindows//g`"
It looks to me like it’s removing the -mwindows option. From other posts about gtk consoles in Windows, we actually need that in there if we don’t want the console to show (as most Windows users seem to want).
live.gnome.org/GTK+/Win32/Apps mentions the intriguing line:-
"The -mms-bitfields option ensures that structs are packed similarly to how they’re packed for Tor’s GTK+ DLLs, so that your application can use the GTK+ API without crashing mysteriously. The -Wl,-subsystem,windows option stops Windows launching a console every time your application is executed."