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.
This commit is contained in:
parent
37eef8abac
commit
76a21bdb54
1 changed files with 0 additions and 3 deletions
|
@ -1700,9 +1700,6 @@ gcm_prefs_device_added_cb (CdClient *client,
|
||||||
CdDevice *device,
|
CdDevice *device,
|
||||||
CcColorPanel *prefs)
|
CcColorPanel *prefs)
|
||||||
{
|
{
|
||||||
/* remove the saved device if it's already there */
|
|
||||||
gcm_prefs_remove_device (prefs, device);
|
|
||||||
|
|
||||||
/* add the device */
|
/* add the device */
|
||||||
gcm_prefs_add_device (prefs, device);
|
gcm_prefs_add_device (prefs, device);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue