[glom] AppWindow: Avoid an infinite loop when loading fails.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] AppWindow: Avoid an infinite loop when loading fails.
- Date: Tue, 14 Jan 2014 20:27:24 +0000 (UTC)
commit 54d1b5943eba6b851dfbab62f195bb72cc8d50b9
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jan 14 21:25:46 2014 +0100
AppWindow: Avoid an infinite loop when loading fails.
* glom/appwindow.cc: ui_warning_load_failed(): Do not call the
function itself. This was a side-effect of a recent collapsing
of the class hierarchy.
glom/appwindow.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/appwindow.cc b/glom/appwindow.cc
index 9e49a36..4b86cf8 100644
--- a/glom/appwindow.cc
+++ b/glom/appwindow.cc
@@ -587,7 +587,7 @@ void AppWindow::ui_warning_load_failed(int failure_code)
_("The document could not be opened because it was created or modified by a newer version of Glom."));
}
else
- ui_warning_load_failed();
+ GlomBakery::AppWindow_WithDoc::ui_warning_load_failed();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]