[Telepathy] Location of FEATURE constants in PyGI tp-glib?

Mystilleef mystilleef at gmail.com
Sat Jun 11 15:39:42 PDT 2011


On Sat, Jun 11, 2011 at 5:57 PM, Xavier Claessens <xclaesse at gmail.com> wrote:
> Le samedi 11 juin 2011 à 17:42 -0400, Mystilleef a écrit :
>> Hi,
>>
>> Where are the FEATURE constants (e.g TP_ACCOUNT_MANAGER_FEATURE_CORE)
>> located in PyGI tp-glib?
>
> Macros are not imported in the g-i, sadly. So you need to call the
> function that returns the feature quark:
>
> TelepathyGLib.AccountManager.get_feature_quark_core()
>

Thanks Xavier!

I don't know how I overlooked that method.

Thanks


More information about the telepathy mailing list