diff options
author | Simon Thum <simon.thum@gmx.de> | 2009-06-05 19:14:48 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-07 20:35:14 +1000 |
commit | 21ee53060b4dcb5c12074cf6682ff0067021ff60 (patch) | |
tree | 771cfa047ccf1e475347ce6d2b4fe2870bd90428 /config | |
parent | 07c59411817c10fbcbf1bc9efa6a0818b6e0493a (diff) |
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 <peter.hutterer@who-t.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |