Bug 26751

Summary: Initial versions of WockyPubsub{Service,Node}
Product: Wocky Reporter: Will Thompson <will>
Component: GeneralAssignee: Guillaume Desmottes <guillaume.desmottes>
Status: RESOLVED FIXED QA Contact: Sjoerd Simons <sjoerd>
Severity: normal    
Priority: medium Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=shortlog;h=refs/heads/pubsub
Whiteboard:
i915 platform: i915 features:

Description Will Thompson 2010-02-25 06:25:28 UTC
I've brought Guillaume's PubSub branch up to date atop the freshly-merged data forms stuff, reviewed it, fixed my criticisms.
Comment 1 Guillaume Desmottes 2010-02-26 03:34:04 UTC
"Conventionally, the _async function is used as the source tag, not the _finish function."
rly? AFAIK we always use the _finish function in Wocky.

Branch looks good otherwise.
Comment 2 Will Thompson 2010-02-26 03:41:29 UTC
(In reply to comment #1)
> "Conventionally, the _async function is used as the source tag, not the _finish
> function."
> rly? AFAIK we always use the _finish function in Wocky.

Yes:

gboolean            g_simple_async_result_is_valid      (GAsyncResult *result,
                                                         GObject *source,
                                                         gpointer source_tag);
Third, source_tag is checked to ensure that it is equal to the source_tag argument given to g_simple_async_result_new() (which, by convention, is a pointer to the _async function corresponding to the _finish function from which this function is called).

Merged; thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.