[gvfs/wip/udisks2] udisks2: nuke debug spew
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/udisks2] udisks2: nuke debug spew
- Date: Wed, 28 Sep 2011 21:33:18 +0000 (UTC)
commit 9dd0f5afc61d9f10b183ab7b6d3dd5b1e6aaf81e
Author: David Zeuthen <davidz redhat com>
Date: Wed Sep 28 17:33:07 2011 -0400
udisks2: nuke debug spew
Signed-off-by: David Zeuthen <davidz redhat com>
monitor/udisks2/gvfsudisks2drive.c | 2 --
monitor/udisks2/gvfsudisks2volume.c | 1 -
monitor/udisks2/gvfsudisks2volumemonitor.c | 4 ++--
3 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2drive.c b/monitor/udisks2/gvfsudisks2drive.c
index c570a7d..81fa838 100644
--- a/monitor/udisks2/gvfsudisks2drive.c
+++ b/monitor/udisks2/gvfsudisks2drive.c
@@ -499,8 +499,6 @@ unmount_mounts_cb (GObject *source_object,
_("Failed to eject medium; one or more volumes on the medium are busy."));
}
- g_debug ("error: %s (%s, %d)", error->message, g_quark_to_string (error->domain), error->code);
-
/* unmount failed; need to fail the whole eject operation */
simple = g_simple_async_result_new_from_error (G_OBJECT (data->drive),
data->callback,
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index 151a889..5b11f61 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -525,7 +525,6 @@ mount_data_free (MountData *data)
static void
mount_cancel_pending_op (MountData *data)
{
- g_debug ("woot, cancelling");
/* send an ::aborted signal to make the dialog go away */
if (data->mount_operation != NULL)
g_signal_emit_by_name (data->mount_operation, "aborted");
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index 58c4a29..6eb45ad 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -1056,7 +1056,7 @@ update_mounts (GVfsUDisks2VolumeMonitor *monitor,
gvfs_udisks2_mount_unmounted (mount);
monitor->mounts = g_list_remove (monitor->mounts, mount);
*removed_mounts = g_list_prepend (*removed_mounts, g_object_ref (mount));
- g_debug ("removed mount at %s", gvfs_udisks2_mount_get_mount_path (mount));
+ /*g_debug ("removed mount at %s", gvfs_udisks2_mount_get_mount_path (mount));*/
g_object_unref (mount);
}
}
@@ -1073,7 +1073,7 @@ update_mounts (GVfsUDisks2VolumeMonitor *monitor,
{
monitor->mounts = g_list_prepend (monitor->mounts, mount);
*added_mounts = g_list_prepend (*added_mounts, g_object_ref (mount));
- g_debug ("added mount at %s for %p", gvfs_udisks2_mount_get_mount_path (mount), volume);
+ /*g_debug ("added mount at %s for %p", gvfs_udisks2_mount_get_mount_path (mount), volume);*/
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]