[gnote] Fix crash on opening multiple windows
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix crash on opening multiple windows
- Date: Sat, 6 Oct 2012 20:41:17 +0000 (UTC)
commit b5a65afdae1137d47951f20e870c286710951393
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Sat Oct 6 22:32:02 2012 +0300
Fix crash on opening multiple windows
src/recentchanges.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 0379d6e..988cc6a 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -130,8 +130,8 @@ namespace gnote {
void NoteRecentChanges::on_open_note_new_window(const Note::Ptr & note)
{
NoteRecentChanges::Ptr window = Gnote::obj().new_main_window();
- window->present_note(note);
window->present();
+ window->present_note(note);
}
void NoteRecentChanges::on_delete_note()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]