summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-03 17:37:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-03 17:37:07 +0000
commit5d0421f6c3de152a652b0ce8c101790a9d1f15bd (patch)
tree09c9d2634d2ded963d1946d929c184fb42c18874 /demos
parentc20433d644c4165138bb34bb62816d84c7d89986 (diff)
downloadgdk-pixbuf-5d0421f6c3de152a652b0ce8c101790a9d1f15bd.tar.gz
One more
svn path=/trunk/; revision=20747
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/printing.c b/demos/gtk-demo/printing.c
index 03997174d..6d27ac035 100644
--- a/demos/gtk-demo/printing.c
+++ b/demos/gtk-demo/printing.c
@@ -123,7 +123,7 @@ draw_page (GtkPrintOperation *operation,
{
pango_layout_set_text (layout, data->lines[line], -1);
pango_cairo_show_layout (cr, layout);
- cairo_rel_move_to (cr, 0, text_height);
+ cairo_rel_move_to (cr, 0, data->font_size);
line++;
}