[gnote] Update statistics addin
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Update statistics addin
- Date: Sun, 13 Oct 2019 14:43:26 +0000 (UTC)
commit 8a94ff34e8a347eae6b88f8e29e5734f4b5e928d
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Oct 13 17:42:42 2019 +0300
Update statistics addin
src/addins/statistics/statisticsapplicationaddin.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/statistics/statisticsapplicationaddin.cpp
b/src/addins/statistics/statisticsapplicationaddin.cpp
index 77bf676d..1419f9bf 100644
--- a/src/addins/statistics/statisticsapplicationaddin.cpp
+++ b/src/addins/statistics/statisticsapplicationaddin.cpp
@@ -44,7 +44,7 @@ void StatisticsApplicationAddin::initialize()
{
if(!m_initialized) {
m_initialized = true;
- auto & manager(gnote::IActionManager::obj());
+ auto & manager(gnote::IGnote::obj().action_manager());
manager.register_main_window_search_callback("statistics-show-cback",
"statistics-show", sigc::mem_fun(*this, &StatisticsApplicationAddin::on_show_statistics));
m_add_menu_item_cid = manager.signal_build_main_window_search_popover
@@ -55,7 +55,7 @@ void StatisticsApplicationAddin::initialize()
void StatisticsApplicationAddin::shutdown()
{
- auto & manager(gnote::IActionManager::obj());
+ auto & manager(gnote::IGnote::obj().action_manager());
manager.unregister_main_window_search_callback("statistics-show-cback");
m_add_menu_item_cid.disconnect();
manager.signal_main_window_popover_changed();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]