[gnote] Use get_window() from noteaddin in notebook addin
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Use get_window() from noteaddin in notebook addin
- Date: Tue, 8 Sep 2015 18:19:14 +0000 (UTC)
commit 37fa23263ab2a1ea14beef0ba86a78c31d18fc91
Author: Aurimas Černius <aurisc4 gmail com>
Date: Tue Sep 8 15:11:57 2015 +0300
Use get_window() from noteaddin in notebook addin
src/notebooks/notebooknoteaddin.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notebooks/notebooknoteaddin.cpp b/src/notebooks/notebooknoteaddin.cpp
index ea6c7ca..a5a2d22 100644
--- a/src/notebooks/notebooknoteaddin.cpp
+++ b/src/notebooks/notebooknoteaddin.cpp
@@ -138,7 +138,7 @@ namespace notebooks {
Note::List noteList;
noteList.push_back(get_note());
NotebookManager::obj().prompt_create_new_notebook(
- dynamic_cast<Gtk::Window*>(get_note()->get_window()->host()), noteList);
+ dynamic_cast<Gtk::Window*>(get_window()->host()), noteList);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]