[gnome-control-center] applications: Remove trailing whitespace



commit 5021d4ee0fe03bac6e62c30fb744e4a64d788ae9
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Nov 13 16:23:26 2019 +1300

    applications: Remove trailing whitespace

 panels/applications/cc-applications-panel.c | 10 +++++-----
 panels/applications/utils.c                 |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/panels/applications/cc-applications-panel.c b/panels/applications/cc-applications-panel.c
index 43d6bda19..139da3ef9 100644
--- a/panels/applications/cc-applications-panel.c
+++ b/panels/applications/cc-applications-panel.c
@@ -185,7 +185,7 @@ get_portal_permissions (CcApplicationsPanel *self,
   while (g_variant_iter_loop (iter, "{s@as}", &key, &val))
     {
       if (strcmp (key, app_id) == 0)
-        return g_variant_dup_strv (val, NULL); 
+        return g_variant_dup_strv (val, NULL);
     }
 
   val = NULL; /* freed by g_variant_iter_loop */
@@ -335,7 +335,7 @@ get_search_enabled (CcApplicationsPanel *self,
   else if (search_disabled_for_app (self, app_id))
     *enabled = FALSE;
   else
-    *enabled = !GPOINTER_TO_INT (value); 
+    *enabled = !GPOINTER_TO_INT (value);
 }
 
 static void
@@ -555,7 +555,7 @@ add_static_permissions (CcApplicationsPanel *self,
   g_autofree gchar *str = NULL;
   gint added = 0;
   g_autofree gchar *text = NULL;
-  
+
   keyfile = get_flatpak_metadata (app_id);
   if (keyfile == NULL)
     return FALSE;
@@ -702,7 +702,7 @@ unset_cb (CcActionRow         *row,
   GAppInfo *info;
 
   selected = gtk_list_box_get_selected_row (GTK_LIST_BOX (self->sidebar_listbox));
-  info = cc_applications_row_get_info (CC_APPLICATIONS_ROW (selected));  
+  info = cc_applications_row_get_info (CC_APPLICATIONS_ROW (selected));
 
   type = (const gchar *)g_object_get_data (G_OBJECT (row), "type");
 
@@ -1119,7 +1119,7 @@ handler_reset_cb (GtkButton           *button,
   gint i;
 
   selected = gtk_list_box_get_selected_row (GTK_LIST_BOX (self->sidebar_listbox));
-  info = cc_applications_row_get_info (CC_APPLICATIONS_ROW (selected));  
+  info = cc_applications_row_get_info (CC_APPLICATIONS_ROW (selected));
 
   types = g_app_info_get_supported_types (info);
   if (types == NULL || types[0] == NULL)
diff --git a/panels/applications/utils.c b/panels/applications/utils.c
index 622a94368..bf9860bea 100644
--- a/panels/applications/utils.c
+++ b/panels/applications/utils.c
@@ -210,7 +210,7 @@ get_flatpak_app_size (const gchar *app_id)
     return 0;
 
   data = g_strstrip (data);
-  
+
   if (g_str_has_suffix (data, "kB") || g_str_has_suffix (data, "kb"))
     factor = 1000;
   else if (g_str_has_suffix (data, "MB") || g_str_has_suffix (data, "Mb"))
@@ -223,7 +223,7 @@ get_flatpak_app_size (const gchar *app_id)
     factor = 1024 * 1024;
   else if (g_str_has_suffix (data, "GiB") || g_str_has_suffix (data, "Gib"))
     factor = 1024 * 1024 * 1024;
-  else 
+  else
     factor = 1;
 
   val = g_ascii_strtod (data, NULL);


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