[gdm] session: fix typo in previous commit
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] session: fix typo in previous commit
- Date: Tue, 17 Mar 2015 14:13:00 +0000 (UTC)
commit 3caf50c24fcc457fed28c74c2fe9190a6621e436
Author: Ray Strode <rstrode redhat com>
Date: Tue Mar 17 10:12:11 2015 -0400
session: fix typo in previous commit
<krnowak> halfline: "if (g_strcmp0 (session_type, session_type) != 0) {" ?
<halfline> ahhhhh
<halfline> thank you
<krnowak> No problem.
https://bugzilla.gnome.org/show_bug.cgi?id=746348
daemon/gdm-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index f8522eb..16734a8 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3124,7 +3124,7 @@ set_session_type (GdmSession *self,
const char *session_type)
{
- if (g_strcmp0 (session_type, session_type) != 0) {
+ if (g_strcmp0 (self->priv->session_type, session_type) != 0) {
g_debug ("GdmSession: setting session to type '%s'", session_type? session_type : "");
g_free (self->priv->session_type);
self->priv->session_type = g_strdup (session_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]