[glom/gtkapplication] Application: Do not load documents twice.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gtkapplication] Application: Do not load documents twice.
- Date: Mon, 13 Feb 2012 09:39:30 +0000 (UTC)
commit eda1f5a12d1290de5a1039ec6ab95729554b78b2
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Feb 13 10:38:39 2012 +0100
Application: Do not load documents twice.
* glom/application.cc: on_open(): Correct the call to the
base class method, to avoid a second attempt to open the same
document.
ChangeLog | 8 ++++++++
glom/application.cc | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 11b7a78..880f1cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-02-13 Murray Cumming <murrayc murrayc com>
+
+ Application: Do not load documents twice.
+
+ * glom/application.cc: on_open(): Correct the call to the
+ base class method, to avoid a second attempt to open the same
+ document.
+
2012-02-10 Murray Cumming <murrayc murrayc com>
Remove use of Gtk::Main functions.
diff --git a/glom/application.cc b/glom/application.cc
index 30b2413..5000dc5 100644
--- a/glom/application.cc
+++ b/glom/application.cc
@@ -108,7 +108,7 @@ void Application::on_open(const Gio::Application::type_vec_files& files,
create_window(file);
}
- Application::on_open(files, hint);
+ Gtk::Application::on_open(files, hint);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]