[gnome-software/wip/iainl/ubuntu-xenial] trivial: More whitespace fixes
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/iainl/ubuntu-xenial] trivial: More whitespace fixes
- Date: Tue, 12 Apr 2016 11:22:23 +0000 (UTC)
commit 470a23607c0e73c7342800f7b8738f2918a6c5df
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 eb2aff7..93393e4 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]