summaryrefslogtreecommitdiff
path: root/src/components/channelscellrenderer.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-04-05 22:01:53 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-04-05 22:01:53 -0400
commit49685c39895af67d7ffcc50fdc02150b6ee44f72 (patch)
tree5c5c262f95a30e58582a285b467d05954ff5f35c /src/components/channelscellrenderer.hpp
parent9767e1e7fdef9262211ec676b4f0d4c30ff10649 (diff)
downloadabaddon-portaudio-49685c39895af67d7ffcc50fdc02150b6ee44f72.tar.gz
abaddon-portaudio-49685c39895af67d7ffcc50fdc02150b6ee44f72.zip
fix up a bunch of clang-tidy stuff
mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past
Diffstat (limited to 'src/components/channelscellrenderer.hpp')
-rw-r--r--src/components/channelscellrenderer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/channelscellrenderer.hpp b/src/components/channelscellrenderer.hpp
index 95ff4fe..e2be9b2 100644
--- a/src/components/channelscellrenderer.hpp
+++ b/src/components/channelscellrenderer.hpp
@@ -18,7 +18,7 @@ enum class RenderType : uint8_t {
class CellRendererChannels : public Gtk::CellRenderer {
public:
CellRendererChannels();
- virtual ~CellRendererChannels();
+ ~CellRendererChannels() override = default;
Glib::PropertyProxy<RenderType> property_type();
Glib::PropertyProxy<uint64_t> property_id();
@@ -106,7 +106,7 @@ protected:
Gtk::CellRendererState flags);
static void cairo_path_rounded_rect(const Cairo::RefPtr<Cairo::Context> &cr, double x, double y, double w, double h, double r);
- void unread_render_mentions(const Cairo::RefPtr<Cairo::Context> &cr, Gtk::Widget &widget, int mentions, int edge, const Gdk::Rectangle &cell_area);
+ static void unread_render_mentions(const Cairo::RefPtr<Cairo::Context> &cr, Gtk::Widget &widget, int mentions, int edge, const Gdk::Rectangle &cell_area);
private:
Gtk::CellRendererText m_renderer_text;