From f80a7215275b229a597cf8d2bbc7e4e208af522c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 7 Jun 2008 19:30:24 +0000 Subject: Use g_dbus_emit_signal for sending D-Bus signals --- network/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'network/connection.c') 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); -- cgit