summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2017-12-11 14:03:25 +1300
committerRobert Ancell <robert.ancell@canonical.com>2017-12-11 14:03:25 +1300
commit88d14ad99b0b951770ab9f189182b90cd3d492cc (patch)
tree1abab98a61f8cc4ed837a8de8b6d9b0b5cc09d5e /tests/src
parentdd43eff4043494d669939a40216537c116c79e9e (diff)
downloadlightdm-git-88d14ad99b0b951770ab9f189182b90cd3d492cc.tar.gz
Remove trailing whitespace
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/X.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/X.c b/tests/src/X.c
index cda567a2..8d67a6d1 100644
--- a/tests/src/X.c
+++ b/tests/src/X.c
@@ -323,7 +323,7 @@ request_cb (const gchar *name, GHashTable *params)
text = g_hash_table_lookup (params, "DISPLAY-NUMBER");
if (text)
- keep_alive_display_number = atoi (text);
+ keep_alive_display_number = atoi (text);
text = g_hash_table_lookup (params, "SESSION-ID");
if (text)
session_id = atoi (text);
@@ -594,11 +594,11 @@ main (int argc, char **argv)
if (xdmcp_port > 0)
xdmcp_client_set_port (xdmcp_client, xdmcp_port);
g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_WILLING, G_CALLBACK (xdmcp_willing_cb), NULL);
- g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_UNWILLING, G_CALLBACK (xdmcp_unwilling_cb), NULL);
+ g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_UNWILLING, G_CALLBACK (xdmcp_unwilling_cb), NULL);
g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_ACCEPT, G_CALLBACK (xdmcp_accept_cb), NULL);
g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_DECLINE, G_CALLBACK (xdmcp_decline_cb), NULL);
g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_FAILED, G_CALLBACK (xdmcp_failed_cb), NULL);
- g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_ALIVE, G_CALLBACK (xdmcp_alive_cb), NULL);
+ g_signal_connect (xdmcp_client, XDMCP_CLIENT_SIGNAL_ALIVE, G_CALLBACK (xdmcp_alive_cb), NULL);
}
g_main_loop_run (loop);