[glom/maemo5: 1/2] Fix tiny typos to fix the non-maemo build.



commit 9a795a3eec45fb9f8d2c80bffda7ccbb3fe4d2f6
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 7 10:41:28 2009 +0200

    Fix tiny typos to fix the non-maemo build.

 ChangeLog           |    5 +++++
 glom/application.cc |    2 +-
 glom/frame_glom.cc  |    2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 441497d..63f0296 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-07  Murray Cumming  <murrayc murrayc com>
+
+	* glom/application.cc:
+	* glom/frame_glom.cc: Fix tiny typos to fix the non-maemo build.
+
 2009-09-05  Murray Cumming  <murrayc murrayc com>
 
 	connection_request_password_and_attempt(): Fix a crash in client-only mode.
diff --git a/glom/application.cc b/glom/application.cc
index 31faeb6..59960c9 100644
--- a/glom/application.cc
+++ b/glom/application.cc
@@ -1033,7 +1033,7 @@ bool App_Glom::on_document_load()
 
 #ifndef GLOM_ENABLE_CLIENT_ONLY
     //Warn about read-only files, because users will otherwise wonder why they can't use Developer mode:
-    const Document::userLevelReason reason = Document::USER_LEVEL_REASON_UNKNOWN;
+    Document::userLevelReason reason = Document::USER_LEVEL_REASON_UNKNOWN;
     const AppState::userlevels userlevel = pDocument->get_userlevel(reason);
     if( (userlevel == AppState::USERLEVEL_OPERATOR) && (reason == Document::USER_LEVEL_REASON_FILE_READ_ONLY) )
     {
diff --git a/glom/frame_glom.cc b/glom/frame_glom.cc
index 4a3ccdd..74e0bd3 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -2426,7 +2426,7 @@ bool Frame_Glom::connection_request_password_and_attempt(bool& database_not_foun
         }
         catch(const ExceptionConnection& ex)
         {
-          if(!handle_request_password_connection_error(true, ex, database_not_found);)
+          if(!handle_request_password_connection_error(true, ex, database_not_found))
             return false;
         }
         #else //GLIBMM_EXCEPTIONS_ENABLED



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]