]> Dogcows Code - chaz/openbox/blobdiff - render/font.c
remove the ob_root var, its redundant of what Xlib already provides
[chaz/openbox] / render / font.c
index 67e19ec240831874c73eb4fc629e6d6d4f81cbf5..d2a4acaeed31e0b8177d4903489d136a3b913581 100644 (file)
@@ -2,14 +2,11 @@
 #include "color.h"
 #include "mask.h"
 #include "theme.h"
-#include "kernel/geom.h"
-#include "kernel/gettext.h"
-#define _(str) gettext(str)
+#include "gettext.h"
 
 #include <X11/Xft/Xft.h>
 #include <glib.h>
 #include <string.h>
-#include <stdlib.h>
 
 #define ELIPSES "..."
 #define ELIPSES_LENGTH(font) \
@@ -149,7 +146,7 @@ int RrFontMaxCharWidth(const RrFont *f)
     return (signed) f->xftfont->max_advance_width;
 }
 
-void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *area)
+void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area)
 {
     gint x,y,w,h;
     XftColor c;
This page took 0.023463 seconds and 4 git commands to generate.