diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2011-06-07 18:03:47 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-05-21 15:50:27 +0200 |
commit | 037f42ee03aa1cd3e68bcf8a58ceaba9e70e1093 (patch) | |
tree | 780039d6337c28fc46fbb0c424002770b3d3be45 | |
parent | a58d05b6b3f0088056b89f1ade0ad68d08c8cf2d (diff) | |
download | gvfs-037f42ee03aa1cd3e68bcf8a58ceaba9e70e1093.tar.gz |
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.
-rw-r--r-- | 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 82a813e4..0a0fd591 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); |