Accept no-reply errors

This can happen if the app quits before the dbus reply can be
sent out.
This commit is contained in:
Matthias Clasen 2010-06-12 01:55:25 -04:00
parent 330cdfbdf1
commit 19012ada57

View File

@ -309,8 +309,11 @@ call_quit (gpointer data)
-1,
NULL,
&error);
g_assert_no_error (error);
if (error)
{
g_assert_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NO_REPLY);
g_error_free (error);
}
if (res)
g_variant_unref (res);