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){
eventNumber = 0;
}
int GUI::run(Clipboard* clipboard){
StatusCode GUI::run(Clipboard* clipboard){
gSystem->ProcessEvents();
......@@ -136,7 +136,7 @@ int GUI::run(Clipboard* clipboard){
}
eventNumber++;
return 1;
return Success;
// Old code to allow updating of a TBrowser (TBrowser in 5.34 not thread safe, so removed)
// ((TCanvas*)gROOT->GetListOfCanvases()->At(0))->Paint();
......
......@@ -24,7 +24,7 @@ public:
// Functions
void initialise(Parameters*);
int run(Clipboard*);
StatusCode run(Clipboard*);
void finalise();
// Canvases to display plots
......
Markdown is supported
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