[gnote] Fix NotebookManager usage in special notes
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix NotebookManager usage in special notes
- Date: Mon, 21 Oct 2019 13:39:02 +0000 (UTC)
commit 9c4ab0b72fe7973a1e7c8549ea47a8b725630d7a
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Oct 21 16:38:13 2019 +0300
Fix NotebookManager usage in special notes
src/addins/specialnotes/specialnotesapplicationaddin.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/specialnotes/specialnotesapplicationaddin.cpp
b/src/addins/specialnotes/specialnotesapplicationaddin.cpp
index 2c92e2a0..d4e917aa 100644
--- a/src/addins/specialnotes/specialnotesapplicationaddin.cpp
+++ b/src/addins/specialnotes/specialnotesapplicationaddin.cpp
@@ -90,14 +90,14 @@ void SpecialNotesApplicationAddin::initialize()
m_initialized = true;
m_notebook = Notebook::Ptr(new SpecialNotesNotebook(note_manager()));
- gnote::notebooks::NotebookManager::obj().add_notebook(m_notebook);
+ gnote::IGnote::obj().notebook_manager().add_notebook(m_notebook);
}
}
void SpecialNotesApplicationAddin::shutdown()
{
if(m_notebook != NULL) {
- gnote::notebooks::NotebookManager::obj().delete_notebook(m_notebook);
+ gnote::IGnote::obj().notebook_manager().delete_notebook(m_notebook);
m_notebook.reset();
m_initialized = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]