[gnote] Do not call manage() on main window
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Do not call manage() on main window
- Date: Thu, 13 Dec 2012 19:17:38 +0000 (UTC)
commit 45a8daef24bac7ac2e4d8c1b01d6c9422d9a0468
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Thu Dec 13 21:14:28 2012 +0200
Do not call manage() on main window
Not required and causes error printed to console.
src/gnote.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 406639d..95767f1 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -378,7 +378,7 @@ namespace gnote {
NoteRecentChanges *Gnote::new_main_window()
{
- NoteRecentChanges *win = manage(new NoteRecentChanges(default_note_manager()));
+ NoteRecentChanges *win = new NoteRecentChanges(default_note_manager());
win->signal_hide().connect(sigc::mem_fun(*this, &Gnote::on_main_window_closed));
add_window(*win);
return win;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]