[gedit/wip/3.14-osx: 6/6] [osx] Hold application to not quit after last window
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/3.14-osx: 6/6] [osx] Hold application to not quit after last window
- Date: Tue, 26 Aug 2014 15:13:11 +0000 (UTC)
commit 04d40ed63d684a84d07bbbd0edd7d5ed40c33514
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Tue Aug 26 17:12:21 2014 +0200
[osx] Hold application to not quit after last window
gedit/gedit-app-osx.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-app-osx.c b/gedit/gedit-app-osx.c
index ae378a3..6253edc 100644
--- a/gedit/gedit-app-osx.c
+++ b/gedit/gedit-app-osx.c
@@ -299,6 +299,8 @@ gedit_app_osx_startup (GApplication *application)
app_osx);
recent_files_menu_populate (app_osx);
+
+ g_application_hold (application);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]