mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Small code rearrangement in GUIRunTime.
Initialise variable in FormPreferences::Colors::Colors. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2398 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bcd818abe3
commit
ab9eb4667d
@ -1,3 +1,11 @@
|
||||
2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* FormPreferences.C (Color c-tor): initialise modifiedXformsPrefs.
|
||||
|
||||
2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* GUIRunTime.C (processEvents, runTime): small code rearrangement.
|
||||
|
||||
2001-08-01 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* FormMathsPanel.C:
|
||||
|
@ -393,7 +393,7 @@ void FormPreferences::update()
|
||||
|
||||
|
||||
FormPreferences::Colors::Colors(FormPreferences & p)
|
||||
: parent_(p)
|
||||
: modifiedXformsPrefs(false), parent_(p)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -70,10 +70,9 @@ int GUIRunTime::initApplication(int , char **)
|
||||
|
||||
void GUIRunTime::processEvents()
|
||||
{
|
||||
XEvent ev;
|
||||
|
||||
if (fl_do_forms() == FL_EVENT) {
|
||||
lyxerr << "LyX: This shouldn't happen..." << endl;
|
||||
XEvent ev;
|
||||
fl_XNextEvent(&ev);
|
||||
}
|
||||
}
|
||||
@ -81,10 +80,10 @@ void GUIRunTime::processEvents()
|
||||
|
||||
void GUIRunTime::runTime()
|
||||
{
|
||||
XEvent ev;
|
||||
while (!finished) {
|
||||
if (fl_check_forms() == FL_EVENT) {
|
||||
lyxerr << "LyX: This shouldn't happen..." << endl;
|
||||
XEvent ev;
|
||||
fl_XNextEvent(&ev);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user