object_path,
&array_builder),
&error);
- if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
+ if (error)
{
- g_warning ("Couldn't emit InterfacesAdded signal: %s", error->message);
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
+ g_warning ("Couldn't emit InterfacesAdded signal: %s", error->message);
g_error_free (error);
}
out:
object_path,
&array_builder),
&error);
- if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
+ if (error)
{
- g_warning ("Couldn't emit InterfacesRemoved signal: %s", error->message);
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
+ g_warning ("Couldn't emit InterfacesRemoved signal: %s", error->message);
g_error_free (error);
}
out: