Add private _g_bus_get_singleton_if_exists() function
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Fri, 6 Apr 2012 12:51:09 +0000 (14:51 +0200)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 18 Apr 2012 15:19:13 +0000 (11:19 -0400)
commitf8a8e9039889c090fb3323e195730b9e460396e4
treef350f3e3d87534e8860913d4cb826c15c579163c
parent07bbc87615c6c0d6a525f40c2bffad2c11e400d2
Add private _g_bus_get_singleton_if_exists() function

This is used by g_test_dbus_down() to ensure the GDBusConnection
gets disposed, but not create one if the singleton already got
disposed.

https://bugzilla.gnome.org/show_bug.cgi?id=672985
gio/gdbusconnection.c
gio/gdbusprivate.h