Commit 9539d076 authored by Jasper St. Pierre's avatar Jasper St. Pierre

slave: Add back setting of session-id

It turns out this *is* used, after all...
parent 2d025255
......@@ -1693,6 +1693,14 @@ gdm_slave_switch_to_user_session (GdmSlave *slave,
return ret;
}
static void
_gdm_slave_set_session_id (GdmSlave *slave,
const char *id)
{
g_free (slave->priv->session_id);
slave->priv->session_id = g_strdup (id);
}
static void
_gdm_slave_set_display_id (GdmSlave *slave,
const char *id)
......@@ -1712,6 +1720,9 @@ gdm_slave_set_property (GObject *object,
self = GDM_SLAVE (object);
switch (prop_id) {
case PROP_SESSION_ID:
_gdm_slave_set_session_id (self, g_value_get_string (value));
break;
case PROP_DISPLAY_ID:
_gdm_slave_set_display_id (self, g_value_get_string (value));
break;
......@@ -1939,7 +1950,7 @@ gdm_slave_class_init (GdmSlaveClass *klass)
"Session id",
"ID of session",
NULL,
G_PARAM_READABLE));
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_DISPLAY_ID,
g_param_spec_string ("display-id",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment