From 69072fc65c1b14e5398992fa980097f2e5dcc1fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 12 Mar 2007 06:15:41 +0000 Subject: [PATCH] Fix an oversight in an example. svn path=/trunk/; revision=17495 --- ChangeLog | 3 +++ gtk/gtkprintoperation.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f43c6884dc..6ed32f267c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-03-12 Matthias Clasen + * 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 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, &layout_height);