From 7fbf9f07b5e13e452b8d4178fae94aea9e586074 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 27 Aug 2024 16:53:51 +0300 Subject: [PATCH] rename method --- src/app/browser/main/tab.cpp | 6 +++--- src/app/browser/main/tab.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index 76e3a75d..514f566f 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -29,13 +29,13 @@ Tab::~Tab() = default; Glib::ustring Tab::get_page_title( const int & PAGE_NUMBER ) { - return get_tab_page(PAGE_NUMBER)->get_title(); + return get_tab_page_ptr(PAGE_NUMBER)->get_title(); }; Glib::ustring Tab::get_page_subtitle( const int & PAGE_NUMBER ) { - return get_tab_page(PAGE_NUMBER)->get_subtitle(); + return get_tab_page_ptr(PAGE_NUMBER)->get_subtitle(); }; // Actions @@ -148,7 +148,7 @@ void Tab::update( } // @TODO // Private helpers -tab::Page * Tab::get_tab_page( +tab::Page * Tab::get_tab_page_ptr( const int & PAGE_NUMBER ) { auto pageWidget = get_nth_page( diff --git a/src/app/browser/main/tab.hpp b/src/app/browser/main/tab.hpp index aedd8e4d..cbf942e8 100644 --- a/src/app/browser/main/tab.hpp +++ b/src/app/browser/main/tab.hpp @@ -17,7 +17,7 @@ namespace app::browser::main const bool REORDERABLE = true; const bool SCROLLABLE = true; - tab::Page * get_tab_page( + tab::Page * get_tab_page_ptr( const int & PAGE_NUMBER );