[phonemgr] connection: do not print a numeric status for handled states



commit 3b798d69ef1db4b3444a22a3c4d6076fcba94c3a
Author: Daniele Forsi <dforsi src gnome org>
Date:   Tue Apr 24 12:39:40 2012 +0200

    connection: do not print a numeric status for handled states

 src/connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection.c b/src/connection.c
index 26e7b43..8af6bb6 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -174,7 +174,6 @@ idle_connect_phone (MyApp *app)
 static void
 on_status (PhonemgrListener *listener, int status, MyApp *app)
 {
-	g_message ("Status %d", status);
 	gdk_threads_enter ();
 
 	app->status = status;
@@ -205,6 +204,7 @@ on_status (PhonemgrListener *listener, int status, MyApp *app)
 			g_message ("Connection error occurred.");
 			break;
 		default:
+			g_message ("Status %d", status);
 			break;
 	}
 



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