[gnote/gnome-3-10] Do not create window on close in background mode
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-10] Do not create window on close in background mode
- Date: Sat, 28 Dec 2013 14:05:45 +0000 (UTC)
commit 6508d2da02c03eed772782451143eed1e08bcc77
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Dec 16 22:58:15 2013 +0200
Do not create window on close in background mode
src/gnote.cpp | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 10bcd29..8a4a187 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -423,10 +423,6 @@ namespace gnote {
void Gnote::on_main_window_closed(Gtk::Window *win)
{
delete win;
- // if background mode, we need to have a window, to prevent quit
- if(m_is_background && !Gtk::Window::list_toplevels().size()) {
- new_main_window();
- }
}
MainWindow & Gnote::get_window_for_note()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]