diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-14 16:19:22 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-15 10:00:28 +0300 |
commit | d78d20923b4354dde8e0a7ce325640589bdc8b8a (patch) | |
tree | 92e7609203726b2d160161863a492b45e9e2b5e7 | |
parent | 93e3aea562174036f3cc76205928916c8f9a547f (diff) |
migration: copy enable-smartcard and enable-audio state to the migrated sessionseamless-migration.v1
Otherwise, we will not create smartcard channel on the destination
side, and we will create audio channels, no matter if they existed
of didn't exist for the src side.
-rw-r--r-- | gtk/spice-session.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/spice-session.c b/gtk/spice-session.c index bfe6b89..47a7ec8 100644 --- a/gtk/spice-session.c +++ b/gtk/spice-session.c @@ -1089,8 +1089,14 @@ SpiceSession *spice_session_new_from_session(SpiceSession *session) "verify", &c->verify, "smartcard-certificates", &c->smartcard_certificates, "smartcard-db", &c->smartcard_db, + "enable-smartcard", &c->smartcard, + "enable-audio", &c->audio, NULL); + g_object_set(copy, + "enable-smartcard", c->smartcard, + "enable-audio", c->audio, + NULL); c->client_provided_sockets = s->client_provided_sockets; c->protocol = s->protocol; c->connection_id = s->connection_id; |