diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-10-21 13:32:21 +0200 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-10-21 13:32:21 +0200 |
commit | 7002fc4e6a6496fb5c0d3294540c957787689847 (patch) | |
tree | 6b858548d5558e4d960979134103b040589ea836 /src/greeter.cpp | |
parent | 144228c916b574e5f4cbc90b9b90c16f0ed9ac73 (diff) | |
download | ayatana-indicator-display-7002fc4e6a6496fb5c0d3294540c957787689847.tar.gz ayatana-indicator-display-7002fc4e6a6496fb5c0d3294540c957787689847.tar.bz2 ayatana-indicator-display-7002fc4e6a6496fb5c0d3294540c957787689847.zip |
add block braces as suggested by dobey
Diffstat (limited to 'src/greeter.cpp')
-rw-r--r-- | src/greeter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp index 9bd5db0..3d0f347 100644 --- a/src/greeter.cpp +++ b/src/greeter.cpp @@ -146,8 +146,9 @@ private: GError* error {}; auto v = g_dbus_connection_call_finish(G_DBUS_CONNECTION(source), res, &error); if (error != nullptr) { - if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) + if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { g_warning("Greeter: Error getting IsActive property: %s", error->message); + } g_clear_error(&error); } else { GVariant* is_active {}; |