From 320f988a5ee586235f785b15028c7ef777e981a0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 18:56:29 +0100 Subject: Use prettier names for log methods --- src/TextViewLog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/TextViewLog.cpp') 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& text_view) } void -TextViewLog::info_msg(const std::string& msg) +TextViewLog::info(const std::string& msg) { Glib::RefPtr 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 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 buffer = _text_view->get_buffer(); buffer->insert_with_tag(buffer->end(), std::string("\n") + msg, _error_tag); -- cgit v1.2.1