[gnome-online-accounts] Don't crash when UI file isn't loadable



commit 4523939b6bbd0f2d85dda164aaf4352354ecd53f
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 14 10:05:45 2011 +0100

    Don't crash when UI file isn't loadable

 src/panel/goapanel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/panel/goapanel.c b/src/panel/goapanel.c
index 9dfc0a3..51abddb 100644
--- a/src/panel/goapanel.c
+++ b/src/panel/goapanel.c
@@ -149,7 +149,7 @@ goa_panel_init (GoaPanel *panel)
       goa_warning ("Error getting a GoaClient: %s (%s, %d)",
                    error->message, g_quark_to_string (error->domain), error->code);
       g_error_free (error);
-      goto out;
+      return;
     }
   g_signal_connect (panel->client,
                     "account-changed",



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