aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/event')
-rw-r--r--src/event/DeferredMonitor.cxx4
-rw-r--r--src/event/DeferredMonitor.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/event/DeferredMonitor.cxx b/src/event/DeferredMonitor.cxx
index e4242414c..5e6d87f30 100644
--- a/src/event/DeferredMonitor.cxx
+++ b/src/event/DeferredMonitor.cxx
@@ -39,11 +39,11 @@ DeferredMonitor::Schedule()
}
void
-DeferredMonitor::DoRun()
+DeferredMonitor::Run()
{
const auto id = source_id.exchange(0);
if (id != 0)
- Run();
+ RunDeferred();
}
gboolean
diff --git a/src/event/DeferredMonitor.hxx b/src/event/DeferredMonitor.hxx
index e055b6c9d..abc11b0b3 100644
--- a/src/event/DeferredMonitor.hxx
+++ b/src/event/DeferredMonitor.hxx
@@ -48,10 +48,10 @@ public:
void Cancel();
protected:
- virtual void Run() = 0;
+ virtual void RunDeferred() = 0;
private:
- void DoRun();
+ void Run();
static gboolean Callback(gpointer data);
};