summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJavier Jardon <jjardon@gnome.org>2011-07-06 11:59:56 +0100
committerJavier Jardon <jjardon@gnome.org>2011-07-06 11:59:56 +0100
commitf90f2858c8b86aadff036b68f20459990ac2d5fb (patch)
treec40b00800e8c9ac6c09d45f01d981cbcaab46141 /docs
parentba0bc468d6cf1f82c92de6e6a64fc5b3290a7322 (diff)
downloadgtk+-f90f2858c8b86aadff036b68f20459990ac2d5fb.tar.gz
Fix few typos in the migration docs
gdk_pixbuf_get_from_surface() don't take 8 args but 5
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/migrating-2to3.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml
index bbef6a526a..7670a80e29 100644
--- a/docs/reference/gtk/migrating-2to3.xml
+++ b/docs/reference/gtk/migrating-2to3.xml
@@ -704,8 +704,8 @@ cairo_arc (cr, 1.5, 1.5, 1.5, 0, 2 * M_PI);
cairo_fill (cr);
cairo_destroy (cr);
-pixbuf = gdk_pixbuf_get_from_surface (NULL, s,
- 0, 0, 0, 0,
+pixbuf = gdk_pixbuf_get_from_surface (s,
+ 0, 0,
3, 3);
cairo_surface_destroy (s);