aboutsummaryrefslogtreecommitdiffstats
path: root/core/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers.cpp')
-rw-r--r--core/helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers.cpp b/core/helpers.cpp
index 3cc7bf8f..754e66c1 100644
--- a/core/helpers.cpp
+++ b/core/helpers.cpp
@@ -447,7 +447,7 @@ bool SetRTPriorityRTKit(int prio)
return false;
}
dbus::Error error;
- dbus::ConnectionPtr conn{(*pdbus_bus_get)(DBUS_BUS_SYSTEM, &error.get())};
+ dbus::ConnectionPtr conn{dbus_bus_get(DBUS_BUS_SYSTEM, &error.get())};
if(!conn)
{
WARN("D-Bus connection failed with %s: %s\n", error->name, error->message);
@@ -455,7 +455,7 @@ bool SetRTPriorityRTKit(int prio)
}
/* Don't stupidly exit if the connection dies while doing this. */
- (*pdbus_connection_set_exit_on_disconnect)(conn.get(), false);
+ dbus_connection_set_exit_on_disconnect(conn.get(), false);
auto limit_rttime = [](DBusConnection *c) -> int
{