diff options
author | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-05-02 23:42:58 +0200 |
---|---|---|
committer | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-05-02 23:48:08 +0200 |
commit | defe4a3e9f4bacba44b12e1fe82dd915e49858c2 (patch) | |
tree | 15900cd981f9eb4f27e4470b02c69f65fa80b5a4 | |
parent | a325247a1e6d658ab5e54227e1e81e958fc4f544 (diff) |
service-client: Minor formatting fixes
Lines shouldn't exceed 80 chars.
-rw-r--r-- | src/gclue-service-client.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/src/gclue-service-client.c b/src/gclue-service-client.c index 97486f8..b969db6 100644 --- a/src/gclue-service-client.c +++ b/src/gclue-service-client.c @@ -523,10 +523,11 @@ gclue_service_client_handle_start (GClueDBusClient *client, desktop_id = gclue_client_info_get_xdg_id (priv->client_info); if (desktop_id == NULL) { - g_dbus_method_invocation_return_error_literal (invocation, - G_DBUS_ERROR, - G_DBUS_ERROR_ACCESS_DENIED, - "Failed to read Flatpak application information"); + g_dbus_method_invocation_return_error_literal + (invocation, + G_DBUS_ERROR, + G_DBUS_ERROR_ACCESS_DENIED, + "Failed to read Flatpak application information"); return TRUE; } @@ -535,10 +536,11 @@ gclue_service_client_handle_start (GClueDBusClient *client, desktop_id = gclue_dbus_client_get_desktop_id (client); if (desktop_id == NULL) { - g_dbus_method_invocation_return_error_literal (invocation, - G_DBUS_ERROR, - G_DBUS_ERROR_ACCESS_DENIED, - "'DesktopId' property must be set"); + g_dbus_method_invocation_return_error_literal + (invocation, + G_DBUS_ERROR, + G_DBUS_ERROR_ACCESS_DENIED, + "'DesktopId' property must be set"); return TRUE; } } else { @@ -546,10 +548,12 @@ gclue_service_client_handle_start (GClueDBusClient *client, property = gclue_dbus_client_get_desktop_id (client); if (property != NULL && g_strcmp0 (property, desktop_id) != 0) { - g_dbus_method_invocation_return_error_literal (invocation, - G_DBUS_ERROR, - G_DBUS_ERROR_ACCESS_DENIED, - "'DesktopId' property does not match Flatpak information"); + g_dbus_method_invocation_return_error_literal + (invocation, + G_DBUS_ERROR, + G_DBUS_ERROR_ACCESS_DENIED, + "'DesktopId' property does not match Flatpak " + " information"); return TRUE; } } |