[glom/gtkmm4v4] gtkmm4: Adapt to changed IOCondition names.



commit 5e6c133efc638064dfd63a85ccdf1cb1e3f7b85b
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Oct 31 23:21:28 2017 +0100

    gtkmm4: Adapt to changed IOCondition names.

 glom/libglom/spawn_with_feedback.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/libglom/spawn_with_feedback.cc b/glom/libglom/spawn_with_feedback.cc
index 2af05db..0e31b8d 100644
--- a/glom/libglom/spawn_with_feedback.cc
+++ b/glom/libglom/spawn_with_feedback.cc
@@ -102,7 +102,7 @@ private:
 #else // G_OS_WIN32
   bool on_io(Glib::IOCondition cond, Glib::RefPtr<Glib::IOChannel> channel, std::string& result)
   {
-    if(cond != Glib::IOCondition::IN)
+    if(cond != Glib::IOCondition::IO_IN)
     {
       // Perhaps the pipe was closed or something. Ignore & Disconnect. If the
       // this was because the child exited, then the on_child_watch() callback
@@ -140,7 +140,7 @@ private:
     channel->set_encoding("");
     channel->set_buffered(false);
 
-    Glib::signal_io().connect(sigc::bind(sigc::mem_fun(*this, &SpawnInfo::on_io), channel, 
std::ref(string)), channel, Glib::IOCondition::IN);
+    Glib::signal_io().connect(sigc::bind(sigc::mem_fun(*this, &SpawnInfo::on_io), channel, 
std::ref(string)), channel, Glib::IOCondition::IO_IN);
   }
 #endif // !G_OS_WIN32
 


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