[gnome-software/wip/temp/ubuntu-xenial-rebased: 207/329] trivial: More whitespace fixes



commit a55aefac63d86d15373deb022d31abad23ba215d
Author: Richard Hughes <richard hughsie com>
Date:   Tue Apr 12 12:12:55 2016 +0100

    trivial: More whitespace fixes

 src/plugins/gs-plugin-apt.cc |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 503342e..be4a5d8 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -553,15 +553,16 @@ aptd_transaction (GsPlugin *plugin, const gchar *method, GsApp *app, GError **er
        if (conn == NULL)
                return FALSE;
 
-       if (g_strcmp0 (method, "InstallFile") == 0)
+       if (g_strcmp0 (method, "InstallFile") == 0) {
                parameters = g_variant_new ("(sb)", gs_app_get_origin (app), TRUE);
-       else if (app != NULL) {
+       } else if (app != NULL) {
                GVariantBuilder builder;
                g_variant_builder_init (&builder, G_VARIANT_TYPE ("as")),
                g_variant_builder_add (&builder, "s", gs_app_get_source_default (app));
                parameters = g_variant_new ("(as)", &builder);
-       } else
+       } else {
                parameters = g_variant_new ("()");
+       }
        result = g_dbus_connection_call_sync (conn,
                                              "org.debian.apt",
                                              "/org/debian/apt",


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