diff options
author | Christian Dywan <christian@lanedo.com> | 2009-09-10 16:40:11 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2009-09-10 16:45:49 +0200 |
commit | 278ac0a45d2b677a0928b1c31b3e20a4c265ffb0 (patch) | |
tree | 6bd844bb4ba23a68ed20bd2fdf02f9b67a37f798 /glib/glib.symbols | |
parent | 4b1217b7e0e8d2e7e4187e8b328e10ad72066392 (diff) | |
download | glib-278ac0a45d2b677a0928b1c31b3e20a4c265ffb0.tar.gz |
Bug 579050 Allow making selected critical and warning messages non-fatal
Implement g_test_log_set_fatal_handler which is a function similar to
g_log_set_default_handler but for use in unit tests where certain
errors have to be ignored because it is not possible to fix or avoid
them otherwise. A unit test is added.
Diffstat (limited to 'glib/glib.symbols')
-rw-r--r-- | glib/glib.symbols | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/glib.symbols b/glib/glib.symbols index 0a969806c..6e3a63b36 100644 --- a/glib/glib.symbols +++ b/glib/glib.symbols @@ -1332,6 +1332,9 @@ g_thread_pool_set_sort_function #endif #if IN_HEADER(__G_TEST_UTILS_H__) +#if IN_FILE(__G_MESSAGES_C__) +g_test_log_set_fatal_handler +#endif #if IN_FILE(__G_TEST_UTILS_C__) g_assertion_message G_GNUC_NORETURN g_assertion_message_cmpnum G_GNUC_NORETURN |