Fix an oversight in an example.

svn path=/trunk/; revision=17495
This commit is contained in:
Matthias Clasen 2007-03-12 06:15:41 +00:00
parent c27179b2c5
commit 69072fc65c
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c: Fix an oversight in an
example. (#381083, Ian Puleston)
* gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
2007-03-12 Matthias Clasen <mclasen@redhat.com>

View File

@ -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);