summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/connection.c b/network/connection.c
index 55c9c529..1ddfc4cf 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -123,7 +123,7 @@ static gboolean bnep_watchdog_cb(GIOChannel *chan, GIOCondition cond,
struct network_conn *nc = data;
if (connection != NULL) {
- dbus_connection_emit_signal(connection, nc->path,
+ g_dbus_emit_signal(connection, nc->path,
NETWORK_CONNECTION_INTERFACE,
"Disconnected",
DBUS_TYPE_INVALID);
@@ -202,7 +202,7 @@ static gboolean bnep_connect_cb(GIOChannel *chan, GIOCondition cond,
}
bnep_if_up(nc->dev, nc->id);
- dbus_connection_emit_signal(connection, nc->path,
+ g_dbus_emit_signal(connection, nc->path,
NETWORK_CONNECTION_INTERFACE,
"Connected",
DBUS_TYPE_INVALID);