summaryrefslogtreecommitdiff
path: root/examples/example-async-client.py
Commit message (Collapse)AuthorAgeFilesLines
* examples: Convert to Python 3Simon McVittie2021-07-201-11/+13
| | | | | | | | | | Python 2 reached EOL more than 18 months ago. For the gconf example, which is only still here because it provides an example of implementing a FallbackObject, use a mock implementation if the deprecated gconf module is no longer available. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add clearer licensing information in SPDX formatSimon McVittie2019-07-151-0/+2
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Use gi instead of gobject, everywhere except dbus.gobject_serviceSimon McVittie2016-01-201-3/+3
|
* Consistently make examples executableBen Longbons2015-12-041-0/+0
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: separated out from a previous commit]
* example-async-client: remove duplicate handle_hello_error()Simon McVittie2011-05-171-12/+0
| | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22560
* License examples under MIT/X11.Simon McVittie2007-09-281-0/+23
| | | | | | According to history of dbus-core before the bindings split, the examples were written by Red Hat employees, so we should be OK to relicense them; and it's good to have copyright headers.
* Correct usage in example-async-client: you need to use example-client (or ↵Simon McVittie2007-01-091-1/+1
| | | | kill(1) of course) to shut down the example service
* Add an example of asynchronous calls. Run the examples during 'make check'.Simon McVittie2007-01-091-0/+109