Re: [spice-gtk PATCH 7/7] migration: copy enable-smartcard and enable-audio state to the migrated session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On 08/21/2012 02:14 PM, Marc-André Lureau wrote:
On Wed, Aug 15, 2012 at 9:56 AM, Yonit Halperin<yhalperi@xxxxxxxxxx>  wrote:
+    g_object_set(copy,
+                 "enable-smartcard", c->smartcard,
+                 "enable-audio", c->audio,
+                 NULL);

like the rest of the c->fields above, you don't need to call
g_object_set() again.

(why "again"?)
Ok, so spice_channel_new should be changed to check SpiceSessionPrivate
fields instead of using g_object_get for the corresponding properties.

ack otherwise


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]