summaryrefslogtreecommitdiffstats
path: root/src/TextViewLog.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 18:56:29 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:52:17 +0100
commit320f988a5ee586235f785b15028c7ef777e981a0 (patch)
treee518cc231f1872091c3a808b93a1385957ec1214 /src/TextViewLog.cpp
parentdbe6899651ac929f59af160dd07aaf6bda079b23 (diff)
downloadpatchage-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.cpp6
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);