diff options
author | Timm Bäder <mail@baedert.org> | 2018-01-03 17:10:21 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-01-03 17:11:32 +0100 |
commit | 3f68475b6fa7afede6a929126ddf439498e6d53d (patch) | |
tree | 2fc5a880c2d63da491eaaefa85ce3f08108be5e5 /gtk/gtkprintcontext.c | |
parent | 5cd138f0f2812c7f7e1f31a29b640446f87a0caa (diff) | |
download | gtk+-3f68475b6fa7afede6a929126ddf439498e6d53d.tar.gz |
Make a few more code samples compile
Diffstat (limited to 'gtk/gtkprintcontext.c')
-rw-r--r-- | gtk/gtkprintcontext.c | 2 |
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); |