[gtk+] Fix a reference in the gdk_pixbuf_get_from_surface docs



commit 6f3c3c34131a664794160e3ae61d2547222dc20e
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 1 21:43:23 2010 -0400

    Fix a reference in the gdk_pixbuf_get_from_surface docs

 gdk/gdkpixbuf-drawable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index f638ce1..1e63810 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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]