From 76a21bdb54591f9f683685b2527929fdda040487 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 24 Aug 2011 12:33:11 +0100 Subject: [PATCH] color: Do not attempt to delete the device if it's already added This was always a workaround for a bug in colord, and we dep on a high enough version now. --- panels/color/cc-color-panel.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c index dd5f18744..17bb2b653 100644 --- a/panels/color/cc-color-panel.c +++ b/panels/color/cc-color-panel.c @@ -1700,9 +1700,6 @@ gcm_prefs_device_added_cb (CdClient *client, CdDevice *device, CcColorPanel *prefs) { - /* remove the saved device if it's already there */ - gcm_prefs_remove_device (prefs, device); - /* add the device */ gcm_prefs_add_device (prefs, device); }