summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2007-03-12 06:15:41 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-03-12 06:15:41 +0000
commit69072fc65c1b14e5398992fa980097f2e5dcc1fd (patch)
tree4f5674ef1ac7c7a64c238a3141eb1b2af220e8ec /gtk/gtkprintoperation.c
parentc27179b2c5bdbdbdfc1e62cc8af07708697fb52c (diff)
downloadgtk+-69072fc65c1b14e5398992fa980097f2e5dcc1fd.tar.gz
Fix an oversight in an example.
svn path=/trunk/; revision=17495
Diffstat (limited to 'gtk/gtkprintoperation.c')
-rw-r--r--gtk/gtkprintoperation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 8b61514238..a06f112cd7 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -670,7 +670,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
* pango_font_description_free (desc);
*
* pango_layout_set_text (layout, "some text", -1);
- * pango_layout_set_width (layout, width);
+ * pango_layout_set_width (layout, width * PANGO_SCALE);
* pango_layout_set_alignment (layout, PANGO_ALIGN_CENTER);
*
* pango_layout_get_size (layout, NULL, &amp;layout_height);