If we don't have a valid object path in emit_event (ie, if NULL is
passed in, for some strange reason), then return rather than crashing in
libdbus.
https://bugzilla.gnome.org/show_bug.cgi?id=669794
return;
path = spi_register_object_to_path (spi_global_register, G_OBJECT (obj));
return;
path = spi_register_object_to_path (spi_global_register, G_OBJECT (obj));
+ g_return_if_fail (path != NULL);
/*
* This is very annoying, but as '-' isn't a legal signal
/*
* This is very annoying, but as '-' isn't a legal signal