diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 18:56:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:52:17 +0100 |
commit | 320f988a5ee586235f785b15028c7ef777e981a0 (patch) | |
tree | e518cc231f1872091c3a808b93a1385957ec1214 /src/TextViewLog.cpp | |
parent | dbe6899651ac929f59af160dd07aaf6bda079b23 (diff) | |
download | patchage-320f988a5ee586235f785b15028c7ef777e981a0.tar.gz patchage-320f988a5ee586235f785b15028c7ef777e981a0.tar.bz2 patchage-320f988a5ee586235f785b15028c7ef777e981a0.zip |
Use prettier names for log methods
Diffstat (limited to 'src/TextViewLog.cpp')
-rw-r--r-- | src/TextViewLog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TextViewLog.cpp b/src/TextViewLog.cpp index b5e7a59..0e37420 100644 --- a/src/TextViewLog.cpp +++ b/src/TextViewLog.cpp @@ -46,7 +46,7 @@ TextViewLog::TextViewLog(Widget<Gtk::TextView>& text_view) } void -TextViewLog::info_msg(const std::string& msg) +TextViewLog::info(const std::string& msg) { Glib::RefPtr<Gtk::TextBuffer> buffer = _text_view->get_buffer(); buffer->insert(buffer->end(), std::string("\n") + msg); @@ -54,7 +54,7 @@ TextViewLog::info_msg(const std::string& msg) } void -TextViewLog::warning_msg(const std::string& msg) +TextViewLog::warning(const std::string& msg) { Glib::RefPtr<Gtk::TextBuffer> buffer = _text_view->get_buffer(); buffer->insert_with_tag( @@ -63,7 +63,7 @@ TextViewLog::warning_msg(const std::string& msg) } void -TextViewLog::error_msg(const std::string& msg) +TextViewLog::error(const std::string& msg) { Glib::RefPtr<Gtk::TextBuffer> buffer = _text_view->get_buffer(); buffer->insert_with_tag(buffer->end(), std::string("\n") + msg, _error_tag); |