[patch] break glib bindings by adding timeout_milliseconds

David Zeuthen david at fubar.dk
Tue Feb 28 17:58:41 PST 2006


Hey,

The glib bindings currently just sets the timeout of method calls to -1.
This is pretty bad so I've written a patch that fixes it. Unfortunately
it breaks some API but we'd better fix this. For details see

 http://bugzilla.gnome.org/show_bug.cgi?id=332888

Patch is pretty trivial and 'make check' still works (you may need to
'make clean' though). OK to commit?

    David

 $ diffstat dbus-add-timeout-to-glib-bindings.patch
 ChangeLog                                        |   24 ++++++++
 dbus/dbus-glib.h                                 |    2
 glib/dbus-binding-tool-glib.c                    |    4 -
 glib/dbus-gproxy.c                               |   12 ++--
 glib/examples/example-client.c                   |    8 +-
 glib/examples/example-service.c                  |    2
 glib/examples/example-signal-emitter.c           |    2
 glib/examples/statemachine/statemachine-client.c |   14 ++---
 glib/examples/statemachine/statemachine-server.c |    2
 test/glib/test-dbus-glib.c                       |   64 +++++++++++------------ 
 tools/dbus-names-model.c                         |    1
 tools/dbus-viewer.c                              |    4 -
 12 files changed, 85 insertions(+), 54 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-add-timeout-to-glib-bindings.patch
Type: text/x-patch
Size: 26538 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060228/e204a08b/dbus-add-timeout-to-glib-bindings-0001.bin


More information about the dbus mailing list