#include "font.h"
+#include "color.h"
+#include "mask.h"
#include "theme.h"
#include "kernel/geom.h"
#include "kernel/gettext.h"
#endif /* DEBUG */
if (!XftInit(0)) {
g_warning(_("Couldn't initialize Xft.\n"));
- exit(3);
+ exit(EXIT_FAILURE);
}
#ifdef DEBUG
version = XftGetVersion();
return out;
}
g_warning(_("Unable to load font: %s\n"), "sans");
- g_warning(_("Aborting!.\n"));
- exit(3); /* can't continue without a font */
+ return NULL;
}
void RrFontClose(RrFont *f)