2015-04-22 16:54:05 -05:00
|
|
|
// 18 april 2015
|
|
|
|
#include "uipriv_unix.h"
|
|
|
|
|
|
|
|
void complain(const char *fmt, ...)
|
|
|
|
{
|
|
|
|
va_list ap;
|
2015-05-07 18:34:45 -05:00
|
|
|
char *msg;
|
2015-04-22 16:54:05 -05:00
|
|
|
|
|
|
|
va_start(ap, fmt);
|
2015-05-07 18:34:45 -05:00
|
|
|
msg = g_strdup_vprintf(fmt, ap);
|
2015-04-22 16:54:05 -05:00
|
|
|
va_end(ap);
|
2015-05-07 18:34:45 -05:00
|
|
|
g_error("[libui] %s\n", msg);
|
2015-04-22 16:54:05 -05:00
|
|
|
}
|