summaryrefslogtreecommitdiff
path: root/src/seat-xdmcp-session.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-17 16:32:14 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-17 16:32:14 +1000
commit90a0c158d8c2bb497a5bb5e76762105fe3e508fe (patch)
treedbaa8c5fdfd4e8e94d45a05dc2f3b63217354d42 /src/seat-xdmcp-session.c
parentfab7371927e87896220dda20150f9e5beba96ec1 (diff)
downloadlightdm-90a0c158d8c2bb497a5bb5e76762105fe3e508fe.tar.gz
Make a generic DisplayServer object. Don't connect the daemon to X servers, it could block and is not required
Diffstat (limited to 'src/seat-xdmcp-session.c')
-rw-r--r--src/seat-xdmcp-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seat-xdmcp-session.c b/src/seat-xdmcp-session.c
index 5901c0c7..27cfa2fe 100644
--- a/src/seat-xdmcp-session.c
+++ b/src/seat-xdmcp-session.c
@@ -67,7 +67,7 @@ seat_xdmcp_session_add_display (Seat *seat)
}
g_free (address);
- display = display_new (SEAT_XDMCP_SESSION (seat)->priv->config_section, XSERVER (xserver));
+ display = display_new (SEAT_XDMCP_SESSION (seat)->priv->config_section, DISPLAY_SERVER (xserver));
g_object_unref (xserver);
return display;