[gdm/wip/xserver-in-session: 38/54] session: allow display to be set after object construction



commit cb20c7c0340a7ef54cfaf94577ac8d807c3e381c
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 ed921ea..8a6dd67 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3502,7 +3502,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]