diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-04-03 12:01:01 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-04-03 12:01:01 +0000 |
| commit | 9444c84b1cdb3b87b3076daf07c806118d2030bf (patch) | |
| tree | bf8b4a2ea68dd80307782b1cedbdd3522c0374d0 /src/buffer.cc | |
| parent | 2cd318e50dbad1618af2e9201acd217e4749cd62 (diff) | |
rename HooksManager to HookManager
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 1c37e2f2..13aa5b00 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -4,7 +4,7 @@ #include "window.hh" #include "assert.hh" #include "utils.hh" -#include "hooks_manager.hh" +#include "hook_manager.hh" #include "context.hh" #include <algorithm> @@ -33,9 +33,9 @@ Buffer::Buffer(const std::string& name, Type type, apply_modification(Modification::make_insert(begin(), initial_content)); if (type == Type::NewFile) - GlobalHooksManager::instance().run_hook("BufCreate", name, Context(*this)); + GlobalHookManager::instance().run_hook("BufCreate", name, Context(*this)); else if (type == Type::File) - GlobalHooksManager::instance().run_hook("BufOpen", name, Context(*this)); + GlobalHookManager::instance().run_hook("BufOpen", name, Context(*this)); } Buffer::~Buffer() |
