Skip to content

Commit 7c9b3a7

Browse files
committed
fix: paths, enums
1 parent ebceae7 commit 7c9b3a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/util/wf-ipc.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
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

4242
WayfireIPC::~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

110110
void 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;

0 commit comments

Comments
 (0)