summaryrefslogtreecommitdiff
path: root/src/x-authority.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x-authority.c')
-rw-r--r--src/x-authority.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/x-authority.c b/src/x-authority.c
index a04f76a6..a312d6df 100644
--- a/src/x-authority.c
+++ b/src/x-authority.c
@@ -65,14 +65,6 @@ x_authority_new_cookie (guint16 family, const guint8 *address, gsize address_len
return x_authority_new (family, address, address_length, number, "MIT-MAGIC-COOKIE-1", cookie, 16);
}
-XAuthority *
-x_authority_new_local_cookie (const gchar *number)
-{
- gchar hostname[1024];
- gethostname (hostname, 1024);
- return x_authority_new_cookie (XAUTH_FAMILY_LOCAL, (guint8 *) hostname, strlen (hostname), number);
-}
-
void
x_authority_set_family (XAuthority *auth, guint16 family)
{