gdbus: Don't use g_assert_no_error() GDBusObjectManagerServer
authorStef Walter <stefw@redhat.com>
Wed, 5 Aug 2015 11:25:47 +0000 (13:25 +0200)
committerStef Walter <stefw@redhat.com>
Wed, 5 Aug 2015 11:43:08 +0000 (13:43 +0200)
commitb3fcb1442e81d14846a8b5d2e33352ac0f6d48ea
treea593ba9215c3f5d4ca440ae26ff93ef9f8de4e03
parent46cf19c447f50d0aa9a4aee8c58ef2a7da2033ef
gdbus: Don't use g_assert_no_error() GDBusObjectManagerServer

There are real world cases where emitting signals can fail, such
as if the DBus connection closes. Asserting and aborting the process
in these cases is just plain lazy.

Ignore the errors when the connection is closed, and turn the
others into warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=753278
gio/gdbusobjectmanagerserver.c