summaryrefslogtreecommitdiff
path: root/daemon/gdm-xdmcp-display-factory.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-10-04 23:19:31 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2007-10-04 23:19:31 +0000
commitcc0647cd1d972a68658a72b9ee296780129bc729 (patch)
treea6959fb293d8a8dadb3213c12116bf6f0082b614 /daemon/gdm-xdmcp-display-factory.c
parentac350bf546831febb13c5a5d73a1329083182f49 (diff)
downloadgdm-cc0647cd1d972a68658a72b9ee296780129bc729.tar.gz
Remove some more obsolete stuff. Make distcheck happy.
2007-10-04 William Jon McCann <mccann@jhu.edu> * common/gdm-common-unknown-origin.c: (gdm_safe_fopen_w): * common/gdm-common-unknown-origin.h: * common/gdm-common.c: * configure.ac: * daemon/gdm-slave.c: (gdm_slave_connect_to_x11_display): * daemon/gdm-xdmcp-display-factory.c: (gdm_xdmcp_handle_indirect_query), (gdm_xdmcp_handle_managed_forward): * daemon/main.c: (main_restoreenv), (gdm_restart_now), (check_logdir), (check_servauthdir), (set_effective_user_group), (gdm_daemon_check_permissions), (gdm_daemon_change_user), (main): Remove some more obsolete stuff. Make distcheck happy. svn path=/branches/mccann-gobject/; revision=5342
Diffstat (limited to 'daemon/gdm-xdmcp-display-factory.c')
-rw-r--r--daemon/gdm-xdmcp-display-factory.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index a46112bc..3bea1829 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -547,6 +547,7 @@ setup_multicast (GdmXdmcpDisplayFactory *factory)
#endif /* ENABLE_IPV6 */
}
+static void
fd_set_close_on_exec (int fd)
{
int flags;
@@ -921,8 +922,10 @@ set_address_for_request (GdmAddress *address,
}
+#if 0
+/* FIXME: Add chooser support */
static void
-gdm_xdmcp_send_forward_query (GdmXdmcpDisplayFactory *factory,
+gdm_xdmcp_send_forward_query (GdmXdmcpDisplayFactory *factory,
GdmIndirectDisplay *id,
GdmAddress *address,
GdmAddress *display_address,
@@ -978,6 +981,7 @@ gdm_xdmcp_send_forward_query (GdmXdmcpDisplayFactory *factory,
g_free (port.data);
g_free (addr.data);
}
+#endif
static void
handle_any_query (GdmXdmcpDisplayFactory *factory,
@@ -1053,7 +1057,6 @@ gdm_xdmcp_handle_indirect_query (GdmXdmcpDisplayFactory *factory,
int expected_len;
int i;
int res;
- GdmIndirectDisplay *id;
if (! gdm_xdmcp_host_allow (address)) {
/* ignore the request */
@@ -1088,6 +1091,7 @@ gdm_xdmcp_handle_indirect_query (GdmXdmcpDisplayFactory *factory,
#if 0
+ GdmIndirectDisplay *id;
/* FIXME: Add chooser support */
id = gdm_choose_indirect_lookup (address);
@@ -2373,7 +2377,6 @@ gdm_xdmcp_handle_managed_forward (GdmXdmcpDisplayFactory *factory,
int len)
{
ARRAY8 clnt_address;
- GdmIndirectDisplay *id;
char *host;
GdmAddress *disp_address;
@@ -2406,6 +2409,7 @@ gdm_xdmcp_handle_managed_forward (GdmXdmcpDisplayFactory *factory,
}
#if 0
+ GdmIndirectDisplay *id;
/* FIXME: Add chooser support */
id = gdm_choose_indirect_lookup_by_chosen (address, disp_address);
if (id != NULL) {