summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccannwj@acsnb1>2007-10-18 23:08:25 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2007-10-18 23:08:25 +0000
commite31a5c4575de04410e0a02ffecf368b4b06ccbb0 (patch)
tree8c54a9da7bf2646f2934edb4f16c2599be307831 /daemon
parent3451d349a6c8b787423a00b112a8e76cfeb309a8 (diff)
downloadgdm-e31a5c4575de04410e0a02ffecf368b4b06ccbb0.tar.gz
Fix missed stuff.
2007-10-18 William Jon McCann <mccannwj@acsnb1> * daemon/gdm-session.c: (gdm_session_user_verification_error_handler), (gdm_session_started_handler), (gdm_session_startup_error_handler), (gdm_session_exited_handler), (gdm_session_close): Fix missed stuff. svn path=/trunk/; revision=5381
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 970742d8..37d53a80 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -162,8 +162,8 @@ gdm_session_user_verification_error_handler (GdmSession *session,
{
gdm_session_record_write (GDM_SESSION_RECORD_TYPE_FAILED_ATTEMPT,
session->priv->session_pid,
- session->priv->user_name,
- session->priv->host_name,
+ session->priv->username,
+ session->priv->hostname,
session->priv->x11_display_name,
session->priv->display_device);
}
@@ -174,19 +174,23 @@ gdm_session_started_handler (GdmSession *session,
{
gdm_session_record_write (GDM_SESSION_RECORD_TYPE_LOGIN,
- );
+ session->priv->session_pid,
+ session->priv->username,
+ session->priv->hostname,
+ session->priv->x11_display_name,
+ session->priv->display_device);
}
static void
gdm_session_startup_error_handler (GdmSession *session,
GError *error)
{
- gdm_session_record (GDM_SESSION_RECORD_TYPE_LOGIN,
- session->priv->session_pid,
- session->priv->user_name,
- session->priv->host_name,
- session->priv->x11_display_name,
- session->priv->display_device);
+ gdm_session_record_write (GDM_SESSION_RECORD_TYPE_LOGIN,
+ session->priv->session_pid,
+ session->priv->username,
+ session->priv->hostname,
+ session->priv->x11_display_name,
+ session->priv->display_device);
}
static void
@@ -195,8 +199,8 @@ gdm_session_exited_handler (GdmSession *session,
{
gdm_session_record_write (GDM_SESSION_RECORD_TYPE_LOGOUT,
session->priv->session_pid,
- session->priv->user_name,
- session->priv->host_name,
+ session->priv->username,
+ session->priv->hostname,
session->priv->x11_display_name,
session->priv->display_device);
}
@@ -1390,8 +1394,8 @@ gdm_session_close (GdmSession *session)
if (session->priv->is_running) {
gdm_session_record_write (GDM_SESSION_RECORD_TYPE_LOGOUT,
session->priv->session_pid,
- session->priv->user_name,
- session->priv->host_name,
+ session->priv->username,
+ session->priv->hostname,
session->priv->x11_display_name,
session->priv->display_device);
}