From 6f3c3c34131a664794160e3ae61d2547222dc20e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Oct 2010 21:43:23 -0400 Subject: [PATCH] Fix a reference in the gdk_pixbuf_get_from_surface docs --- gdk/gdkpixbuf-drawable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c index f638ce1d07..1e63810597 100644 --- a/gdk/gdkpixbuf-drawable.c +++ b/gdk/gdkpixbuf-drawable.c @@ -212,7 +212,7 @@ convert_no_alpha (guchar *dest_data, * Transfers image data from a #cairo_surface_t and converts it to an RGB(A) * representation inside a #GdkPixbuf. This allows you to efficiently read * individual pixels from cairo surfaces. For #GdkWindows, use - * gdk_pixbuf_get_from_surface() instead. + * gdk_pixbuf_get_from_window() instead. * * This function will create an RGB pixbuf with 8 bits per channel. The pixbuf * will contain an alpha channel if the @surface contains one.