libui/redo/unix/util.c

22 lines
373 B
C

// 18 april 2015
#include "uipriv_unix.h"
void complain(const char *fmt, ...)
{
va_list ap;
char *msg;
va_start(ap, fmt);
msg = g_strdup_vprintf(fmt, ap);
va_end(ap);
g_error("[libui] %s\n", msg);
}
void setMargined(GtkContainer *c, int margined)
{
if (b->margined)
gtk_container_set_border_width(c, gtkXMargin);
else
gtk_container_set_border_width(c, 0);
}