[niepce/gtk4: 6/10] gtk4: Fix debug build




commit 7e9cc0f91cc728bf4254f8af6886f7cc8dd8dc3a
Author: Hubert Figuière <hub figuiere net>
Date:   Sun Mar 20 17:52:13 2022 -0400

    gtk4: Fix debug build

 src/niepce/ui/workspacecontroller.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/niepce/ui/workspacecontroller.cpp b/src/niepce/ui/workspacecontroller.cpp
index 0ad70ad..39d373f 100644
--- a/src/niepce/ui/workspacecontroller.cpp
+++ b/src/niepce/ui/workspacecontroller.cpp
@@ -392,7 +392,7 @@ Gtk::Widget * WorkspaceController::buildWidget()
     m_treestore = Gtk::TreeStore::create(m_librarycolumns);
     m_librarytree.set_model(m_treestore);
     m_librarytree.set_activate_on_single_click(true);
-    DBG_ASSERT(m_treestore->get_flags() & Gtk::TREE_MODEL_ITERS_PERSIST,
+    DBG_ASSERT(m_treestore->get_flags() == Gtk::TreeModel::Flags::ITERS_PERSIST,
         "Model isn't persistent");
 
     m_folderNode = add_item(m_treestore, m_treestore->children(),


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