From 3f68475b6fa7afede6a929126ddf439498e6d53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 3 Jan 2018 17:10:21 +0100 Subject: Make a few more code samples compile --- gtk/gtkprintcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkprintcontext.c') 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); -- cgit v1.2.1