summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-07 19:30:24 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-07 19:30:24 +0000
commitf80a7215275b229a597cf8d2bbc7e4e208af522c (patch)
tree9b9fcfd87de495562932e219dfb9db64859a8140 /audio/control.c
parent15eded276cb81a91f812fe8a5eb8e29a3839542b (diff)
Use g_dbus_emit_signal for sending D-Bus signals
Diffstat (limited to 'audio/control.c')
-rw-r--r--audio/control.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/control.c b/audio/control.c
index c9663a26..6778b268 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -428,7 +428,7 @@ static void avctp_unref(struct avctp *session)
}
if (session->state == AVCTP_STATE_CONNECTED)
- dbus_connection_emit_signal(session->dev->conn,
+ g_dbus_emit_signal(session->dev->conn,
session->dev->path,
AUDIO_CONTROL_INTERFACE,
"Disconnected",
@@ -635,7 +635,7 @@ static void auth_cb(DBusError *derr, void *user_data)
session->dev->control->session = session;
init_uinput(session);
- dbus_connection_emit_signal(session->dev->conn, session->dev->path,
+ g_dbus_emit_signal(session->dev->conn, session->dev->path,
AUDIO_CONTROL_INTERFACE, "Connected",
DBUS_TYPE_INVALID);
@@ -724,7 +724,7 @@ proceed:
session->dev->control->session = session;
init_uinput(session);
flags |= G_IO_IN;
- dbus_connection_emit_signal(session->dev->conn,
+ g_dbus_emit_signal(session->dev->conn,
session->dev->path,
AUDIO_CONTROL_INTERFACE,
"Connected",
@@ -793,7 +793,7 @@ static void avctp_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
init_uinput(session);
- dbus_connection_emit_signal(session->dev->conn, session->dev->path,
+ g_dbus_emit_signal(session->dev->conn, session->dev->path,
AUDIO_CONTROL_INTERFACE, "Connected",
DBUS_TYPE_INVALID);