summaryrefslogtreecommitdiffstats
path: root/network/server.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 /network/server.c
parent15eded276cb81a91f812fe8a5eb8e29a3839542b (diff)
Use g_dbus_emit_signal for sending D-Bus signals
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/server.c b/network/server.c
index c7b2b778..4d046602 100644
--- a/network/server.c
+++ b/network/server.c
@@ -799,7 +799,7 @@ static DBusMessage *enable(DBusConnection *conn,
store_property(&ns->src, ns->id, "enabled", "1");
- dbus_connection_emit_signal(conn, ns->path, NETWORK_SERVER_INTERFACE,
+ g_dbus_emit_signal(conn, ns->path, NETWORK_SERVER_INTERFACE,
"Enabled", DBUS_TYPE_INVALID);
return reply;
@@ -839,7 +839,7 @@ static DBusMessage *disable(DBusConnection *conn,
store_property(&ns->src, ns->id, "enabled", "0");
- dbus_connection_emit_signal(conn, ns->path, NETWORK_SERVER_INTERFACE,
+ g_dbus_emit_signal(conn, ns->path, NETWORK_SERVER_INTERFACE,
"Disabled", DBUS_TYPE_INVALID);
return reply;