summaryrefslogtreecommitdiff
path: root/gtk/gtkprintcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkprintcontext.c')
-rw-r--r--gtk/gtkprintcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintcontext.c b/gtk/gtkprintcontext.c
index d3c5a02635..21d68bfa85 100644
--- a/gtk/gtkprintcontext.c
+++ b/gtk/gtkprintcontext.c
@@ -69,7 +69,7 @@
* cairo_stroke (cr);
*
* // Draw some text
- * layout = gtk_print_context_create_layout (context);
+ * layout = gtk_print_context_create_pango_layout (context);
* pango_layout_set_text (layout, "Hello World! Printing is easy", -1);
* desc = pango_font_description_from_string ("sans 28");
* pango_layout_set_font_description (layout, desc);