File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33#include < cstring>
44#include < fcntl.h>
55#include < functional>
6- #include < giomm-2.4/giomm /enums.h>
7- #include < glibmm-2.4/glibmm /iochannel.h>
6+ #include < giomm/enums.h>
7+ #include < glibmm/iochannel.h>
88#include < memory>
99#include < optional>
1010#include < stdexcept>
@@ -36,7 +36,7 @@ WayfireIPC::WayfireIPC()
3636 sig_connection = Glib::signal_io ().connect (
3737 sigc::mem_fun (*this , &WayfireIPC::receive),
3838 connection->get_socket ()->get_fd (),
39- Glib::IO_IN);
39+ Glib::IOCondition:: IO_IN);
4040}
4141
4242WayfireIPC::~WayfireIPC ()
@@ -104,7 +104,7 @@ void WayfireIPC::write_next()
104104 sig_connection = Glib::signal_io ().connect (
105105 sigc::mem_fun (*this , &WayfireIPC::send_queue),
106106 connection->get_socket ()->get_fd (),
107- Glib::IO_OUT);
107+ Glib::IOCondition:: IO_OUT);
108108}
109109
110110void WayfireIPC::write_stream (const std::string& message)
@@ -135,7 +135,7 @@ void WayfireIPC::write_stream(const std::string& message)
135135 }
136136 } catch (const Glib::Error& e)
137137 {
138- if (e.code () == Gio::IO_ERROR_CANCELLED )
138+ if (e.code () == G_IO_ERROR_CANCELLED )
139139 {
140140 // Intended behavior
141141 return ;
You can’t perform that action at this time.
0 commit comments