[gnome-session] gsm: When checking for required components, abort on the first missing



commit 85f69aab79858b13f8838b7868b724e264eda82b
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Feb 2 02:42:12 2011 +0100

    gsm: When checking for required components, abort on the first missing

 gnome-session/gsm-session-fill.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/gsm-session-fill.c b/gnome-session/gsm-session-fill.c
index 8b6aa6e..80aa5ea 100644
--- a/gnome-session/gsm-session-fill.c
+++ b/gnome-session/gsm-session-fill.c
@@ -168,6 +168,7 @@ check_required_components (GKeyFile *keyfile)
                         g_warning ("Unable to find provider '%s' of required component '%s'",
                                    value, required_components[i]);
                         result = FALSE;
+                        break;
                 }
                 g_free (app_path);
                 g_free (value);



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