[gnome-settings-daemon/gnome-3-8] print-notifications: Use better debugging messages



commit ccab69f76f2928577eddcd5c38d8b0469d988453
Author: Marek Kasik <mkasik redhat com>
Date:   Thu Sep 5 10:57:40 2013 +0200

    print-notifications: Use better debugging messages
    
    Using g_debug() is more appropriate than gnome_settings_profile_msg()
    for message about getting dests from CUPS server.
    Be more specific in those debugging messages.

 .../gsd-print-notifications-manager.c              |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/print-notifications/gsd-print-notifications-manager.c 
b/plugins/print-notifications/gsd-print-notifications-manager.c
index ba38a49..954a919 100644
--- a/plugins/print-notifications/gsd-print-notifications-manager.c
+++ b/plugins/print-notifications/gsd-print-notifications-manager.c
@@ -999,7 +999,7 @@ cups_connection_test_cb (GObject      *source_object,
                 g_object_unref (connection);
 
                 manager->priv->num_dests = cupsGetDests (&manager->priv->dests);
-                gnome_settings_profile_msg ("got dests");
+                g_debug ("Got dests from remote CUPS server.");
 
                 renew_subscription (user_data);
                 g_timeout_add_seconds (RENEW_INTERVAL, renew_subscription_with_connection_test, manager);
@@ -1036,7 +1036,7 @@ cups_connection_test (gpointer user_data)
                         g_object_unref (client);
                 } else {
                         manager->priv->num_dests = cupsGetDests (&manager->priv->dests);
-                        gnome_settings_profile_msg ("got dests");
+                        g_debug ("Got dests from local CUPS server.");
 
                         renew_subscription (user_data);
                         g_timeout_add_seconds (RENEW_INTERVAL, renew_subscription_with_connection_test, 
manager);


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