[Telepathy] [Bug 18832] Tp-glib shared lib calls exit()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 26 01:42:16 PST 2008


--- Comment #2 from Xavier Claessens <xclaesse at gmail.com>  2008-12-26 01:42:16 PST ---
I think you shouldn't use that method if you can still continue without dbus
connection. Even with your patch you'll get a warning instead of a GError you
can report to the user.

IMO in most telepathy programs failing at getting the dbus connection is fatal
because we can't do anything else (use g_assert instead of exit?). But I agree
that we could add another function that is non-fatal and return a GError
instead. Probably libempathy should use it too. For example, trying to send a
file to a contact from nautilus without dbus running shouldn't terminate
nautilus, but an error could be displayed to the user.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Telepathy mailing list