How handle error messages from g_assert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone!

I'm trying to catch error messages issued by g_assert before quitting code. I set up handler:
g_log_set_handler (NULL, G_LOG_LEVEL_ERROR | G_LOG_FLAG_FATAL, (GLogFunc) handler, NULL);

And when using g_error, it works (t.i. message is handled and handler function is called properly). However, when using g_assert it doesn't. How to properly handle messages issued by g_assert?

Thanks for any tips in advance,
Peteris Krisjanis.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux