[gdm] session: allow display to be set after object construction



commit 317cae72408a06af09acb74dfc3c3554be87ed29
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744764

 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]