diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-06-09 18:28:25 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-06-09 18:31:57 +0800 |
commit | 01db736d42599437458371dbd2a66030647de7e2 (patch) | |
tree | c356a10f780a83e771688eb898ed563acc45e09b /libempathy/empathy-dispatcher.c | |
parent | 279a93cbc25ade081510d94c20777e16527cf475 (diff) | |
download | gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar.gz gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar.bz2 gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar.lz gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar.xz gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.tar.zst gsoc2013-empathy-01db736d42599437458371dbd2a66030647de7e2.zip |
Document the purpose of outstanding_channels
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r-- | libempathy/empathy-dispatcher.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index f46d15f80..0f9cc7746 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -112,7 +112,16 @@ typedef struct GHashTable *dispatched_channels; /* ObjectPath -> EmpathyDispatchOperations */ GHashTable *dispatching_channels; - /* ObjectPath -> EmpathyDispatchOperations */ + + /* ObjectPath -> EmpathyDispatchOperations + * + * This holds channels which were announced with NewChannel while we have an + * outstanding channel request for a channel of this type. On the Requests + * interface, CreateChannel and EnsureChannel are guaranteed by the spec to + * return before NewChannels is emitted, but there was no guarantee of the + * ordering of RequestChannel vs. NewChannel. So if necessary, channels are + * held in limbo here until we know whether they were requested. + */ GHashTable *outstanding_channels; /* List of DispatcherRequestData */ GList *outstanding_requests; |