[niepce: 19/22] Fix crash on quit.
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce: 19/22] Fix crash on quit.
- Date: Tue, 29 Jul 2014 08:07:05 +0000 (UTC)
commit 27023e6b663c1960ec733cfb692fba7496acd9c3
Author: Hubert Figuière <hub figuiere net>
Date: Mon Jul 28 19:21:35 2014 +0200
Fix crash on quit.
src/fwk/toolkit/application.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/fwk/toolkit/application.cpp b/src/fwk/toolkit/application.cpp
index 9185658..6f9e26e 100644
--- a/src/fwk/toolkit/application.cpp
+++ b/src/fwk/toolkit/application.cpp
@@ -100,8 +100,6 @@ int Application::main(const Application::Ptr & app,
app->m_gtkapp->run(argc, argv);
DBG_OUT("end run");
- app->terminate();
-
return 0;
}
@@ -170,7 +168,9 @@ void Application::terminate()
void Application::quit()
{
- m_gtkapp->quit();
+ // TODO check we can quit
+
+ terminate();
}
void Application::about()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]