>From: "[email protected]" <[email protected]>
>Sent: Thursday, 10 December 2015, 19:52
>Subject: Re: [Vala] How to connect to signal if there's a property with the 
>same name?
>
>I cannot rename this, this is part of GIO.
>

>https://developer.gnome.org/gio/stable/GDBusConnection.html#GDBusConnection--closed

Hmm, there is also an is_closed() call:
https://developer.gnome.org/gio/stable/GDBusConnection.html#g-dbus-connection-is-closed

That would hopefully work around the name clash for you.


I'm not sure how the name clash should be resolved in the bindings.

Al

>
>m.
>
>
>2015-12-10 16:29 GMT+01:00 Al Thomas <[email protected]>:
>>Rename your property as 'is_closed', e.g.
>>
>>if ( connection.is_closed ) { }
>>
>>Otherwise I don't know.
>>
>>Al
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to