From ee47f9f75ecc4ea8756f9b301905ec7de5ac07a3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 May 2008 18:05:38 +0000 Subject: Use message sending helpers --- input/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input/server.c') diff --git a/input/server.c b/input/server.c index 976b8522..f5861635 100644 --- a/input/server.c +++ b/input/server.c @@ -50,7 +50,7 @@ #include "dbus-service.h" #include "glib-helper.h" -static const char* HID_UUID = "00001124-0000-1000-8000-00805f9b34fb"; +static const char *HID_UUID = "00001124-0000-1000-8000-00805f9b34fb"; static DBusConnection *connection = NULL; @@ -71,7 +71,7 @@ static void cancel_authorization(const char *addr) DBUS_TYPE_STRING, &HID_UUID, DBUS_TYPE_INVALID); - send_message_and_unref(connection, msg); + g_dbus_send_message(connection, msg); } struct authorization_data { -- cgit