[gvfs/gdbus: 22/30] gdbus: Remove some extra debug spew



commit 755d8b0bfb3971474ccea3648483940c514c22ee
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Fri May 11 12:31:52 2012 +0200

    gdbus: Remove some extra debug spew
    
    Not needed really, leaving DEBUG_ENABLED define enabled for now, will
    remove more debug prints later.

 metadata/meta-daemon.c                       |    3 ---
 monitor/proxy/gvfsproxyvolumemonitordaemon.c |    5 +----
 2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/metadata/meta-daemon.c b/metadata/meta-daemon.c
index 7c3b735..9c102a5 100644
--- a/metadata/meta-daemon.c
+++ b/metadata/meta-daemon.c
@@ -403,8 +403,6 @@ on_name_acquired (GDBusConnection *connection,
 {
   GError *error;
   
-  g_warning ("Acquired the name %s on the session message bus\n", name);
-  
   skeleton = gvfs_metadata_skeleton_new ();
   
   g_signal_connect (skeleton, "handle-set", G_CALLBACK (handle_set), skeleton);
@@ -431,7 +429,6 @@ on_name_lost (GDBusConnection *connection,
   GMainLoop *loop = user_data;
 
   /* means that someone has claimed our name (we allow replacement) */
-  g_warning ("Got NameLost, some other instance replaced us");
   g_main_loop_quit (loop);
 }
 
diff --git a/monitor/proxy/gvfsproxyvolumemonitordaemon.c b/monitor/proxy/gvfsproxyvolumemonitordaemon.c
index ce444ae..2ca2362 100644
--- a/monitor/proxy/gvfsproxyvolumemonitordaemon.c
+++ b/monitor/proxy/gvfsproxyvolumemonitordaemon.c
@@ -1920,8 +1920,6 @@ bus_acquired_handler_cb (GDBusConnection *conn,
 {
   GError *error;
   
-  g_warning ("Bus acquired at %s", name);
-
   if (! conn)
     return;
 
@@ -1977,7 +1975,6 @@ on_name_lost (GDBusConnection *connection,
               gpointer         user_data)
 {
   /* means that someone has claimed our name (we allow replacement) */
-  g_warning ("Got NameLost, some other instance replaced us");
   g_main_loop_quit (loop);
 }
 
@@ -1986,7 +1983,7 @@ on_name_acquired (GDBusConnection *connection,
                   const gchar     *name,
                   gpointer         user_data)
 {
-  g_warning ("Acquired the name %s on the session message bus\n", name);
+  /* acquired the name %s on the session message bus */
 }
 
 int



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]