[glom/gtkmm4v4] gtkmm4: Adapt to Gnome::Gda::StatementModelUsage as ModelUsage enum class.



commit 4cf1bd67e207de3bab9f7bc2f03f2c1305a8066b
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 28 09:01:47 2017 +0200

    gtkmm4: Adapt to Gnome::Gda::StatementModelUsage as ModelUsage enum class.

 glom/libglom/db_utils.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/libglom/db_utils.cc b/glom/libglom/db_utils.cc
index fa66b0c..1d13caa 100644
--- a/glom/libglom/db_utils.cc
+++ b/glom/libglom/db_utils.cc
@@ -1688,7 +1688,7 @@ Glib::RefPtr<Gnome::Gda::DataModel> query_execute_select(const Glib::RefPtr<cons
     if(use_cursor)
     {
       //Specify the STATEMENT_MODEL_CURSOR, so that libgda only gets the rows that we actually use.
-      result = gda_connection->statement_execute_select_builder(builder, 
Gnome::Gda::STATEMENT_MODEL_CURSOR_FORWARD);
+      result = gda_connection->statement_execute_select_builder(builder, 
Gnome::Gda::Statement::ModelUsage::CURSOR_FORWARD);
     }
     else
       result = gda_connection->statement_execute_select_builder(builder);


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