[gvfs/gdbus: 13/30] gdbus: Silence on_name_owner_appeared messages



commit 037f42ee03aa1cd3e68bcf8a58ceaba9e70e1093
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]