aboutsummaryrefslogtreecommitdiff
path: root/src/awake.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-27 11:01:30 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-27 11:01:30 -0500
commitb0936139bfef6fe169b5c17be4b2dafa3c2e2c3a (patch)
treee4c9149fc11dca4d607066053258884dba0efec1 /src/awake.cpp
parent7271b2139a5c600a2c3cdb4e552e05ddb0f374dd (diff)
downloadayatana-indicator-datetime-b0936139bfef6fe169b5c17be4b2dafa3c2e2c3a.tar.gz
ayatana-indicator-datetime-b0936139bfef6fe169b5c17be4b2dafa3c2e2c3a.tar.bz2
ayatana-indicator-datetime-b0936139bfef6fe169b5c17be4b2dafa3c2e2c3a.zip
copyediting: comments, use anonymous namespace
Diffstat (limited to 'src/awake.cpp')
-rw-r--r--src/awake.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/awake.cpp b/src/awake.cpp
index 19826ae..57358ab 100644
--- a/src/awake.cpp
+++ b/src/awake.cpp
@@ -58,7 +58,9 @@ public:
private:
- static void on_system_bus_ready (GObject *, GAsyncResult *res, gpointer gself)
+ static void on_system_bus_ready (GObject *,
+ GAsyncResult *res,
+ gpointer gself)
{
GError * error;
GDBusConnection * system_bus;
@@ -119,7 +121,9 @@ private:
GVariant * args;
error = nullptr;
- args = g_dbus_connection_call_finish (G_DBUS_CONNECTION(connection), res, &error);
+ args = g_dbus_connection_call_finish (G_DBUS_CONNECTION(connection),
+ res,
+ &error);
if (error != nullptr)
{
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
@@ -150,7 +154,9 @@ private:
GVariant * args;
error = nullptr;
- args = g_dbus_connection_call_finish (G_DBUS_CONNECTION(connection), res, &error);
+ args = g_dbus_connection_call_finish (G_DBUS_CONNECTION(connection),
+ res,
+ &error);
if (error != nullptr)
{
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
@@ -233,7 +239,7 @@ private:
***/
Awake::Awake(const std::string& app_name):
- impl(new Impl (app_name))
+ impl(new Impl (app_name))
{
}