Mercurial > pidgin.yaz
changeset 14898:64733c315986
[gaim-migrate @ 17670]
This fixes the dbus exit(1) problem -- we may still have a bug, or dbus may.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 05 Nov 2006 14:54:50 +0000 |
parents | e429c4ebbae5 |
children | a8f92a837590 |
files | libgaim/dbus-server.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/dbus-server.c Sun Nov 05 08:22:33 2006 +0000 +++ b/libgaim/dbus-server.c Sun Nov 05 14:54:50 2006 +0000 @@ -579,6 +579,10 @@ return; } + /* Do not allow libdbus to exit on connection failure (This may + work around random exit(1) on SIGPIPE errors) */ + dbus_connection_set_exit_on_disconnect (gaim_dbus_connection, FALSE); + if (!dbus_connection_register_object_path(gaim_dbus_connection, DBUS_PATH_GAIM, &vtable, NULL)) {