summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-04-18 14:56:54 +0200
committerHans de Goede <hdegoede@redhat.com>2011-04-18 14:56:54 +0200
commite25d2676a2d3eef2cd549dcf7716e415765450ca (patch)
tree201f80d161c4efdac760412127dfbefc7de8dac5 /src
parent61646eb708f3fbc41c62990d0c787c1a7d60989f (diff)
vdagentd: fix compilation without consolekit
Diffstat (limited to 'src')
-rw-r--r--src/vdagentd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdagentd.c b/src/vdagentd.c
index b277caa..be6ef1f 100644
--- a/src/vdagentd.c
+++ b/src/vdagentd.c
@@ -450,6 +450,7 @@ static int connection_matches_active_session(struct udscs_connection **connp,
*conn_ret = *connp;
return 1;
}
+#endif
void release_clipboards(void)
{
@@ -463,7 +464,6 @@ void release_clipboards(void)
agent_owns_clipboard[sel] = 0;
}
}
-#endif
void update_active_session_connection(void)
{