[gvfs/gdbus] gdbus: Silence on_name_owner_appeared messages



commit e5bb04d3f6cc00ca69105ef26a76e3a7b7814803
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 6a046c9..94c8355 100644
--- a/monitor/proxy/gproxyvolumemonitor.c
+++ b/monitor/proxy/gproxyvolumemonitor.c
@@ -860,17 +860,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]