[gdm] session: rename on_session_{started, opened} to on_user_session_{started, opened}
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] session: rename on_session_{started, opened} to on_user_session_{started, opened}
- Date: Wed, 18 Feb 2015 22:45:21 +0000 (UTC)
commit fab6fe9a1cd31396e43b9338d1b02c84e8636eda
Author: Ray Strode <rstrode redhat com>
Date: Mon Feb 16 17:26:21 2015 -0500
session: rename on_session_{started,opened} to on_user_session_{started,opened}
All the other handlers dealing with user sessions have user in the
name, so this commits brings the two outliers in line.
https://bugzilla.gnome.org/show_bug.cgi?id=744764
daemon/gdm-manager.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 4735194..c5cd627 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1593,10 +1593,10 @@ start_user_session_if_ready (GdmManager *manager,
}
static void
-on_session_opened (GdmSession *session,
- const char *service_name,
- const char *session_id,
- GdmManager *manager)
+on_user_session_opened (GdmSession *session,
+ const char *service_name,
+ const char *session_id,
+ GdmManager *manager)
{
manager->priv->user_sessions = g_list_append (manager->priv->user_sessions,
g_object_ref (session));
@@ -1611,10 +1611,10 @@ on_session_opened (GdmSession *session,
}
static void
-on_session_started (GdmSession *session,
- const char *service_name,
- GPid pid,
- GdmManager *manager)
+on_user_session_started (GdmSession *session,
+ const char *service_name,
+ GPid pid,
+ GdmManager *manager)
{
g_debug ("GdmManager: session started %d", pid);
}
@@ -2062,11 +2062,11 @@ create_seed_session_for_display (GdmManager *manager,
manager);
g_signal_connect (session,
"session-opened",
- G_CALLBACK (on_session_opened),
+ G_CALLBACK (on_user_session_opened),
manager);
g_signal_connect (session,
"session-started",
- G_CALLBACK (on_session_started),
+ G_CALLBACK (on_user_session_started),
manager);
g_signal_connect (session,
"session-exited",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]