Commit 01641153 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

updated return code


Former-commit-id: 51379a0b55b0a49c464258c05911a0dff13c5cae
parent 34ec892a
...@@ -60,7 +60,7 @@ void GUI::initialise(Parameters* par){ ...@@ -60,7 +60,7 @@ void GUI::initialise(Parameters* par){
eventNumber = 0; eventNumber = 0;
} }
int GUI::run(Clipboard* clipboard){ StatusCode GUI::run(Clipboard* clipboard){
gSystem->ProcessEvents(); gSystem->ProcessEvents();
...@@ -136,7 +136,7 @@ int GUI::run(Clipboard* clipboard){ ...@@ -136,7 +136,7 @@ int GUI::run(Clipboard* clipboard){
} }
eventNumber++; eventNumber++;
return 1; return Success;
// Old code to allow updating of a TBrowser (TBrowser in 5.34 not thread safe, so removed) // Old code to allow updating of a TBrowser (TBrowser in 5.34 not thread safe, so removed)
// ((TCanvas*)gROOT->GetListOfCanvases()->At(0))->Paint(); // ((TCanvas*)gROOT->GetListOfCanvases()->At(0))->Paint();
......
...@@ -24,7 +24,7 @@ public: ...@@ -24,7 +24,7 @@ public:
// Functions // Functions
void initialise(Parameters*); void initialise(Parameters*);
int run(Clipboard*); StatusCode run(Clipboard*);
void finalise(); void finalise();
// Canvases to display plots // Canvases to display plots
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment