[Spice-devel] [PATCH spice-gtk 6/8] RFC: Add read-only property on sessions

Hans de Goede hdegoede at redhat.com
Wed Nov 23 07:15:01 PST 2011


Hi,

On 11/23/2011 03:49 PM, Marc-André Lureau wrote:
> On Wed, Nov 23, 2011 at 3:38 PM, Hans de Goede<hdegoede at redhat.com>  wrote:
>> Why introduce a separate function for this, why not simply call
>> spice_session_get_read_only(priv->session) in the places where you now call
>> read_only(self) ?
>
> it was just a small local helper, could be turned into a macro
> perhaps, but I am not fond of macros

Ok, at least change the helper to use
spice_session_get_read_only(priv->session), rather then g_object_get
please :)

Regards,

Hans


More information about the Spice-devel mailing list