On Wed, Jul 04, 2018 at 11:38:14AM -0400, Frediano Ziglio wrote:
> Another question is however "Are we going to use g_critical as
> g_critical?". It sounds a tricky question. Let say that a new person
> starts to look at the code and knows GLib. He see g_critical and
> think "well, this by default log a critical warning and continue"
> but instead on Spice is always fatal.

Unless I am confused, g_critical() should have the usual default
behaviour, and spice_critical() aborts, see
test_spice_abort_level_g_warning and the following tests
https://gitlab.freedesktop.org/spice/spice-common/blob/master/tests/test-logging.c#L62

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to