[gdm/wip/wayland-at-login-screen: 40/70] session: allow display to be set after object construction
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/wayland-at-login-screen: 40/70] session: allow display to be set after object construction
- Date: Wed, 18 Feb 2015 06:26:51 +0000 (UTC)
commit 1ce8a8a2338db029762f7eedbfd88ef0a748d11b
Author: Ray Strode <rstrode redhat com>
Date: Mon Feb 16 15:58:32 2015 -0500
session: allow display to be set after object construction
When we support starting the X server in the session, we're
not going to know the display name up front.
This commit makes it possible to set the display name
later.
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 4c2a8db..55f6709 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3497,7 +3497,7 @@ gdm_session_class_init (GdmSessionClass *session_class)
"display name",
"display name",
NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class,
PROP_DISPLAY_HOSTNAME,
g_param_spec_string ("display-hostname",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]