]> git.lyx.org Git - lyx.git/blobdiff - src/main.C
citation patch from Angus
[lyx.git] / src / main.C
index 6fb3a47c4ed7f4fdf3fc7b563ce091e64b19af08..e1b01f06bba1247521e0527b39b0cb0b852da16e 100644 (file)
@@ -16,6 +16,8 @@
 #endif
 #ifdef GTKGUI
 #    include <gnome--/main.h>
+#    include "frontends/gnome/mainapp.h"
+GLyxAppWin * mainAppWin;
 #endif
 
 #include FORMS_H_LOCATION
@@ -70,7 +72,9 @@ int main(int argc, char * argv[])
        KApplication a( argc, argv );
 #endif
 #ifdef GTKGUI
-       Gnome::Main  a(PACKAGE,VERSION,argc, argv );
+       Gnome::Main  a(PACKAGE,VERSION,1,argv); //argc, argv );
+       GLyxAppWin   appWin;
+       mainAppWin = &appWin;
 #endif
        
        // lyx_localedir is used by gettext_init() is we have