GDBusConnection: propagate error correctly if flags are inappropriate
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2011 17:54:46 +0000 (17:54 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 5 Dec 2011 18:15:19 +0000 (18:15 +0000)
commit83d0c8a7396e8c1f70619e01f0b0c06fd22790b7
treea93c63907ac1b69a1da1087daec6be3303590fac
parent15437a7e5a89dcb2a812f829bc8e9e1db7ce350b
GDBusConnection: propagate error correctly if flags are inappropriate

Previously, this would fail the assertion
"connection->initialization_error != NULL" after the label "out".

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665067
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: David Zeuthen <davidz@redhat.com>
gio/gdbusconnection.c