summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2017-03-31 14:58:26 -0400
committerRay Strode <rstrode@redhat.com>2017-03-31 17:22:10 -0400
commit2a3d5a7c402534c3611956fed930394a51cb00c5 (patch)
tree988c18534a79c5398b4ca570446597d232c5991f
parenta86205badf0a0b953cdadf386999d0c0c5f6a2fb (diff)
downloadgdm-2a3d5a7c402534c3611956fed930394a51cb00c5.tar.gz
xdmcp-display-factory: fix signal prototype
The callback was getting called with the wrong arguments leading to spew in the logs and necessary code not getting run! https://bugzilla.gnome.org/show_bug.cgi?id=780787
-rw-r--r--daemon/gdm-xdmcp-display-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index b9ab921c..c5f7ddb4 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2050,7 +2050,8 @@ on_hostname_selected (GdmXdmcpChooserDisplay *display,
}
static void
-on_client_disconnected (GdmDisplay *display)
+on_client_disconnected (GdmSession *session,
+ GdmDisplay *display)
{
if (gdm_display_get_status (display) != GDM_DISPLAY_MANAGED)
return;