From 21ee53060b4dcb5c12074cf6682ff0067021ff60 Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Fri, 5 Jun 2009 19:14:48 +0200 Subject: config: fix build after XI2 API changes to RemoveDevice. This patch fixes the build with --enable-config-dbus is enabled (default disabled). Signed-off-by: Peter Hutterer --- config/dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/dbus.c b/config/dbus.c index cef8ed5db..37462ace0 100644 --- a/config/dbus.c +++ b/config/dbus.c @@ -175,7 +175,7 @@ add_device(DBusMessage *message, DBusMessage *reply, DBusError *error) unwind: if (ret != Success) { if (dev) - RemoveDevice(dev); + RemoveDevice(dev, TRUE); err = -ret; dbus_message_iter_append_basic(&reply_iter, DBUS_TYPE_INT32, &err); -- cgit v1.2.3