]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui.C
Fix small bug in reading \set_color in lyxrc
[lyx.git] / src / lyx_gui.C
index 11cc6517386436a7b0ae45cbf9966cb95d8365e9..e33d6a5f37b855912ea314e5164f5287a5a4c757 100644 (file)
 #    include <kapp.h>
 #endif
 
+#ifdef GTKGUI
+#    include <gnome--/main.h>
+#endif
+
 #include <fcntl.h>
 #include "lyx_gui.h"
 #include FORMS_H_LOCATION
@@ -590,6 +594,10 @@ void LyXGUI::runTime()
 #ifdef KDEGUI
                kapp->processEvents();
 #endif
+#ifdef GTKGUI
+               Gnome::Main::instance()->iteration(FALSE);
+#endif
+               
                if (fl_check_forms() == FL_EVENT) {
                        lyxerr << "LyX: This shouldn't happen..." << endl;
                        fl_XNextEvent(&ev);