[gvfs/gdbus: 13/17] gdbus: Silence on_name_owner_appeared messages
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus: 13/17] gdbus: Silence on_name_owner_appeared messages
- Date: Wed, 4 Apr 2012 16:31:06 +0000 (UTC)
commit cf741a4b58ef3a8ffc2525c1c68a5be27fec5669
Author: Tomas Bzatek <tbzatek redhat com>
Date: Tue Jun 7 18:03:47 2011 +0200
gdbus: Silence on_name_owner_appeared messages
... and don't scare users with correct informational messages.
One of owner_appeared of owner_vanished callbacks are guaranteed
to be called after name owner watching is set up and on normally
functional system the former is usually called.
monitor/proxy/gproxyvolumemonitor.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c
index 82a813e..0a0fd59 100644
--- a/monitor/proxy/gproxyvolumemonitor.c
+++ b/monitor/proxy/gproxyvolumemonitor.c
@@ -836,17 +836,20 @@ on_name_owner_appeared (GDBusConnection *connection,
gpointer user_data)
{
GProxyVolumeMonitor *monitor = G_PROXY_VOLUME_MONITOR (user_data);
- GProxyVolumeMonitorClass *klass;
GHashTableIter hash_iter;
GProxyDrive *drive;
GProxyVolume *volume;
GProxyMount *mount;
+#if 0
+ GProxyVolumeMonitorClass *klass;
+
klass = G_PROXY_VOLUME_MONITOR_CLASS (G_OBJECT_GET_CLASS (monitor));
g_warning ("New owner %s for volume monitor %s connected to the bus; seeding drives/volumes/mounts",
name_owner,
klass->dbus_name);
+#endif
seed_monitor (monitor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]