[gnome-session] gsm: Cleanup previous commits...



commit 13226af8eabf01a7683c325c9dd2cc36236e4b75
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Mar 18 15:25:37 2011 +0100

    gsm: Cleanup previous commits...
    
    Remove trailing spaces and fix strings (no string change, since they are
    not translatable).

 gnome-session/gsm-fail-whale-dialog.c |   10 +++++-----
 gnome-session/gsm-manager.c           |    8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gnome-session/gsm-fail-whale-dialog.c b/gnome-session/gsm-fail-whale-dialog.c
index 4a26072..2a629bb 100644
--- a/gnome-session/gsm-fail-whale-dialog.c
+++ b/gnome-session/gsm-fail-whale-dialog.c
@@ -111,7 +111,7 @@ gsm_fail_whale_dialog_class_init (GsmFailWhaleDialogClass *klass)
 {
         GObjectClass *gobject_class;
         GtkWidgetClass *widget_class;
-        
+
         gobject_class = G_OBJECT_CLASS (klass);
         widget_class = GTK_WIDGET_CLASS (klass);
         gobject_class->set_property = gsm_fail_whale_dialog_set_property;
@@ -141,7 +141,7 @@ gsm_fail_whale_dialog_init (GsmFailWhaleDialog *fail_dialog)
                           NULL);
 }
 
-static void 
+static void
 gsm_fail_whale_dialog_get_preferred_width (GtkWidget *widget,
                                            gint      *minimum_size,
                                            gint      *natural_size)
@@ -155,7 +155,7 @@ gsm_fail_whale_dialog_get_preferred_width (GtkWidget *widget,
                 *natural_size = 640;
 }
 
-static void 
+static void
 gsm_fail_whale_dialog_get_preferred_height (GtkWidget *widget,
                                             gint      *minimum_size,
                                             gint      *natural_size)
@@ -263,14 +263,14 @@ gsm_fail_whale_dialog_we_failed (GsmFailWhaleDialogFailType fail_type,
         fail_dialog = g_object_new (GSM_TYPE_FAIL_WHALE_DIALOG,
                                     "fail-type", fail_type,
                                     NULL);
-        
+
         current_dialog = fail_dialog;
 
         gtk_window_set_title (GTK_WINDOW (fail_dialog), "");
 
         gtk_window_set_icon_name (GTK_WINDOW (fail_dialog), "gtk-error");
         gtk_window_set_position (GTK_WINDOW (fail_dialog), GTK_WIN_POS_CENTER_ALWAYS);
-        
+
         switch (fail_type) {
         case GSM_FAIL_WHALE_DIALOG_FAIL_TYPE_RECOVERABLE:
                 gtk_dialog_add_button (GTK_DIALOG (fail_dialog),
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 1e2d63f..840c53b 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -236,7 +236,7 @@ start_app_or_warn (GsmManager *manager,
 
         res = gsm_app_start (app, &error);
         if (error != NULL) {
-                g_warning ("Failed start app: %s", error->message);
+                g_warning ("Failed to start app: %s", error->message);
                 g_clear_error (&error);
         }
         return res;
@@ -556,7 +556,7 @@ app_died (GsmApp     *app,
 
         g_warning ("Application '%s' killed by signal", gsm_app_peek_app_id (app));
         if (is_app_required (manager, app))
-                on_required_app_failure (manager, app, "Killed by signal");                
+                on_required_app_failure (manager, app, "Killed by signal");
         /* For now, we don't do anything with crashes from non-required apps;
          * practically speaking they will be caught by ABRT/apport type
          * infrastructure, and it'd be better to pick up the crash from
@@ -3371,8 +3371,8 @@ void
 gsm_manager_try_recovery (GsmManager     *manager)
 {
         GSList *iter;
-        
-        g_debug ("trying recovery");
+
+        g_debug ("Trying recovery");
 
         for (iter = manager->priv->required_apps; iter; iter = iter->next) {
                 GsmApp *app = iter->data;



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