GMenuExporter: allow NULL bus on _name_vanished
authorRyan Lortie <desrt@desrt.ca>
Tue, 16 Oct 2012 16:27:12 +0000 (12:27 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 16 Oct 2012 16:31:23 +0000 (12:31 -0400)
commit212ffcc574d929ca0715960b4f29a4aab909a251
tree6e0fa83d1d9b9a6dc90d72162b97c318a0bebca0
parent2002479c02fa6e468fc3f67ddc663657a52ebde8
GMenuExporter: allow NULL bus on _name_vanished

GBusNameVanishedCallback is called with a NULL GDBusConnection in the
case that the connection has vanished.  We were doing an assert to
verify that it was the same as we had exported the menu on and that
assert was failing.

https://bugzilla.gnome.org/show_bug.cgi?id=685995
gio/gmenuexporter.c