summaryrefslogtreecommitdiff
path: root/examples/xftview.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xftview.c')
-rw-r--r--examples/xftview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/xftview.c b/examples/xftview.c
index 0b95e2f9..c559c8ee 100644
--- a/examples/xftview.c
+++ b/examples/xftview.c
@@ -69,7 +69,7 @@ update ()
XftDrawRect (draw, &color,
area.x, area.y, area.width, area.height);
- do_output (context, xft_render, draw, NULL, NULL);
+ do_output (context, xft_render, NULL, draw, NULL, NULL);
}
void
@@ -111,7 +111,7 @@ int main (int argc, char **argv)
bg = WhitePixel (display, screen);
context = pango_xft_get_context (display, screen);
- do_output (context, NULL, NULL, &width, &height);
+ do_output (context, NULL, NULL, NULL, &width, &height);
window = XCreateSimpleWindow (display, DefaultRootWindow (display),
0, 0, width, height, 0,