>From d2c7f41cc2564b155a285d10f404818410b92e3c Mon Sep 17 00:00:00 2001
From: Simon Thum <simon.thum@gmx.de>
Date: Fri, 5 Jun 2009 19:14:48 +0200
Subject: [PATCH] config: adapt to Xi2 changes

---
 config/dbus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/dbus.c b/config/dbus.c
index cef8ed5..37462ac 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);
-- 
1.6.0.6

