[gnome-settings-daemon] color: Prevent a crash when deleting an icc profile
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: Prevent a crash when deleting an icc profile
- Date: Mon, 13 Jun 2011 15:03:51 +0000 (UTC)
commit 9cceb9eca018705f8172f0effdf33a76f3a43a6c
Author: Richard Hughes <richard hughsie com>
Date: Mon Jun 13 16:01:49 2011 +0100
color: Prevent a crash when deleting an icc profile
The profile ID is not available without connect()ing, and it's only used for a
debugging statement...
plugins/color/gsd-color-manager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 19795c3..789d841 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -1854,7 +1854,6 @@ gcm_session_find_profile_by_filename_cb (GObject *object,
}
/* remove it from colord */
- g_debug ("profile %s removed", cd_profile_get_id (profile));
cd_client_delete_profile (manager->priv->client,
profile,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]