← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-me/trunk] Rev 139: Don't fail if we don't get the username (LP: #739319)

 

Merge authors:
  Ken VanDine (ken-vandine)
Related merge proposals:
  https://code.launchpad.net/~ken-vandine/indicator-me/lp_739319/+merge/55367
  proposed by: Ken VanDine (ken-vandine)
  review: Approve - Mikkel Kamstrup Erlandsen (kamstrup)
  review: Approve - Ted Gould (ted)
------------------------------------------------------------
revno: 139 [merge]
committer: Ken VanDine <ken.vandine@xxxxxxxxxxxxx>
branch nick: indicator-me
timestamp: Tue 2011-03-29 16:25:24 -0400
message:
  Don't fail if we don't get the username (LP: #739319)
modified:
  src/indicator-me.c


--
lp:indicator-me
https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk

Your team ayatana-commits is subscribed to branch lp:indicator-me.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk/+edit-subscription
=== modified file 'src/indicator-me.c'
--- src/indicator-me.c	2011-03-10 17:53:09 +0000
+++ src/indicator-me.c	2011-03-29 15:53:01 +0000
@@ -189,7 +189,7 @@
 	g_return_if_fail(status_proxy != NULL);
 
 	if (error != NULL) {
-		g_error("Could not get the username %s", error->message);
+		g_warning("Could not get the username %s", error->message);
 		g_error_free(error);
 		return;
 	}
@@ -217,7 +217,6 @@
   } else {
     gtk_widget_hide(GTK_WIDGET(label));
   }
-
 }
 
 static GtkLabel *