]> Pileus Git - ~andy/gtk/commitdiff
Fix a reference in the gdk_pixbuf_get_from_surface docs
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Oct 2010 01:43:23 +0000 (21:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Oct 2010 01:43:23 +0000 (21:43 -0400)
gdk/gdkpixbuf-drawable.c

index f638ce1d0752575f6ee4c65f049776ed72f5e5ee..1e638105978cc76751c42157ec6023816621a607 100644 (file)
@@ -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.