[glom/gtkmm4v4] gtkmm4: Adapt to Gnome::Gda::MetaStructFeature as Feature enum class.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gtkmm4v4] gtkmm4: Adapt to Gnome::Gda::MetaStructFeature as Feature enum class.
- Date: Fri, 28 Apr 2017 07:16:35 +0000 (UTC)
commit ecc71e24f0d733458718a350317f18a6e13ebdbd
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 28 08:56:08 2017 +0200
gtkmm4: Adapt to Gnome::Gda::MetaStructFeature as Feature enum class.
glom/libglom/connectionpool_backends/sqlite.cc | 2 +-
glom/libglom/db_utils.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/libglom/connectionpool_backends/sqlite.cc b/glom/libglom/connectionpool_backends/sqlite.cc
index accc77f..f305ffe 100644
--- a/glom/libglom/connectionpool_backends/sqlite.cc
+++ b/glom/libglom/connectionpool_backends/sqlite.cc
@@ -184,7 +184,7 @@ bool Sqlite::recreate_table(const Glib::RefPtr<Gnome::Gda::Connection>& connecti
static const gchar TRANSACTION_NAME[] = "GLOM_RECREATE_TABLE_TRANSACTION";
auto store = connection->get_meta_store();
- auto metastruct = Gnome::Gda::MetaStruct::create(store, Gnome::Gda::META_STRUCT_FEATURE_NONE);
+ auto metastruct = Gnome::Gda::MetaStruct::create(store, Gnome::Gda::MetaStruct::Feature::NONE);
auto object = metastruct->complement(Gnome::Gda::META_DB_TABLE, Gnome::Gda::Value(), Gnome::Gda::Value(),
Gnome::Gda::Value(table_name));
if(!object)
diff --git a/glom/libglom/db_utils.cc b/glom/libglom/db_utils.cc
index e8a79a1..5791040 100644
--- a/glom/libglom/db_utils.cc
+++ b/glom/libglom/db_utils.cc
@@ -883,7 +883,7 @@ type_vec_fields get_fields_for_table_from_database(const Glib::ustring& table_na
//Both these libgda APIs are awful, and it's awful that we must use two APIs. murrayc.
auto store = connection->get_meta_store();
auto metastruct =
- Gnome::Gda::MetaStruct::create(store, Gnome::Gda::META_STRUCT_FEATURE_NONE);
+ Gnome::Gda::MetaStruct::create(store, Gnome::Gda::MetaStruct::Feature::NONE);
GdaMetaDbObject* meta_dbobject = nullptr;
try
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]