2015-04-18 16:20:05 -05:00
|
|
|
// 18 april 2015
|
2015-04-09 01:56:51 -05:00
|
|
|
#include "uipriv_unix.h"
|
|
|
|
|
2015-04-18 16:20:05 -05:00
|
|
|
void complain(const char *fmt, ...)
|
2015-04-09 01:56:51 -05:00
|
|
|
{
|
2015-04-18 16:20:05 -05:00
|
|
|
va_list ap;
|
|
|
|
|
|
|
|
va_start(ap, fmt);
|
|
|
|
// there's no g_errorv() in glib 2.32, so do it manually instead
|
|
|
|
g_logv(G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, fmt, ap);
|
|
|
|
va_end(ap);
|
|
|
|
abort(); // just in case
|
2015-04-09 01:56:51 -05:00
|
|
|
}
|