[glom/gtkmm4v4] gtkmm4: Adapt to Gnome::Gda::ConnectionEventType as Type enum class.



commit 8b765480f7a0f14b486c04ae0277b4c90d392a07
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 28 08:41:25 2017 +0200

    gtkmm4: Adapt to Gnome::Gda::ConnectionEventType as Type enum class.

 glom/libglom/connectionpool.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index fbac875..fa629e2 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -546,7 +546,7 @@ bool ConnectionPool::handle_error_cerr_only()
       Glib::ustring error_details;
       for(const auto& event : list_errors)
       {
-        if(event && (event->get_event_type() == Gnome::Gda::CONNECTION_EVENT_ERROR))
+        if(event && (event->get_event_type() == Gnome::Gda::ConnectionEvent::Type::ERROR))
         {
           if(!error_details.empty())
             error_details += '\n'; //Add newline after each error.


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