[Spice-devel] [PATCH spice-gtk 3/7] SpiceDisplay: Use SpiceGtkSession auto-clipboard value as default

Hans de Goede hdegoede at redhat.com
Mon Oct 10 06:42:32 PDT 2011


Hi,

On 10/10/2011 03:23 PM, Marc-André Lureau wrote:
>
> ----- Original Message -----
>> Hi,
>>
>> On 10/10/2011 02:51 PM, Marc-André Lureau wrote:
>>> This should rather be done in GObjectClass.constructed()
>>
>> That is too late we *must* chain up to the GObjectClass constructor
>
> Have you tried removing G_PARAM_CONSTRUCT from auto-clipboard property?
>
> That should not set the value at construction time.

Ah, good one, yes that fixes this in a much nicer way. Technically that
is a backward compat API breaking change, but we did not support using
g_object_new for SpiceDisplay before anyways.

I'll respin the patch removing the G_PARAM_CONSTRUCT from the
auto-clipboard property?

Regards,

Hans



More information about the Spice-devel mailing list