Summary: | Simple “sign in and send a message” example (with porter bug) | ||
---|---|---|---|
Product: | Wocky | Reporter: | Will Thompson <will> |
Component: | General | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.collabora.co.uk/git/user/wjt/wocky.git/log/?h=examples | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: |
Description
Will Thompson
2011-02-15 12:14:01 UTC
I fixed the bug wjt was hitting: http://cgit.freedesktop.org/~jonny/wocky/log?h=message-example I endorse Jonny's patch. I've stolen it, and rebased my branch with the test case and example onto it. Also, I've added an example of receiving incoming messages, and deleted the connector examples, and fixed a few cosmetic issues I stumbled upon. See the branch! + g_print ("%s\n", G_STRFUNC); o rly Neither of your tests call wocky_deinit(). + '@', "show", "chat", Not chatty? :-( Other than that it's fine. (In reply to comment #3) > + g_print ("%s\n", G_STRFUNC); > > o rly Whoops. > Neither of your tests call wocky_deinit(). I assume you mean examples? (The tests do call it, so they can be valground.) I don't think real applications generally should feel the need to call wocky_deinit(): /** * wocky_deinit: * * Clean up any resources created by Wocky in wocky_init(). * * It is normally not needed to call this function in a normal application * as the resources will automatically be freed when the program terminates. * This function is therefore mostly used by testsuites and other memory * profiling tools. But I'm prepared to be told they should? > + '@', "show", "chat", > > Not chatty? :-( http://xmpp.org/rfcs/rfc3921.html#stanzas-presence-children-show (In reply to comment #4) > I assume you mean examples? (The tests do call it, so they can be valground.) I > don't think real applications generally should feel the need to call > wocky_deinit(): OK. > http://xmpp.org/rfcs/rfc3921.html#stanzas-presence-children-show :-( (In reply to comment #5) > > http://xmpp.org/rfcs/rfc3921.html#stanzas-presence-children-show > > :-( hah, despite linking to le rfc i still got it wrong. refresh for a new patch verified to work with the unique power of telepathy-inspector <show>longcat</show gogogogogo merge It is done. |
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.