Commit e3013a5c authored by Benjamin Otte's avatar Benjamin Otte
Browse files

docs: Replace mentions of drawable with window in migration guide

No need to let gtk3-aware people learn about wonderous gtk2 terms when
they are migrating old code. ;)
parent d03c9490
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
them, are gone. This includes the <literal>gdk_draw</literal> family them, are gone. This includes the <literal>gdk_draw</literal> family
of functions like gdk_draw_rectangle() and gdk_draw_drawable(). As of functions like gdk_draw_rectangle() and gdk_draw_drawable(). As
#GdkGC is roughly equivalent to #cairo_t and #GdkImage was used for #GdkGC is roughly equivalent to #cairo_t and #GdkImage was used for
drawing images to GdkDrawables, which cairo supports automatically, drawing images to GdkWindows, which cairo supports automatically,
a transition is usually straightforward. a transition is usually straightforward.
</para> </para>
<para> <para>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
was replaced. was replaced.
</para> </para>
<example> <example>
<title>Drawing a GdkPixbuf onto a GdkDrawable</title> <title>Drawing a GdkPixbuf onto a GdkWindow</title>
<para> <para>
Drawing a pixbuf onto a drawable used to be done like this: Drawing a pixbuf onto a drawable used to be done like this:
<programlisting><![CDATA[ <programlisting><![CDATA[
...@@ -170,7 +170,7 @@ cairo_destroy (cr); ...@@ -170,7 +170,7 @@ cairo_destroy (cr);
</para> </para>
</example> </example>
<example> <example>
<title>Drawing a tiled GdkPixmap to a GdkDrawable</title> <title>Drawing a tiled GdkPixmap to a GdkWindow</title>
<para> <para>
Tiled pixmaps are often used for drawing backgrounds. Tiled pixmaps are often used for drawing backgrounds.
Old code looked something like this: Old code looked something like this:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment