[gtk+/gtk-3-10] gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation



commit 6d593407d524fc7c97d085b1c4ea2ab5d01deb7d
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed Mar 12 11:49:14 2014 -0400

    gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation
    
    The window is allowed to be %NULL

 gdk/gdkcairo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 9624392..e80b817 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -267,7 +267,7 @@ gdk_cairo_surface_paint_pixbuf (cairo_surface_t *surface,
  * gdk_cairo_surface_create_from_pixbuf:
  * @pixbuf: a #GdkPixbuf
  * @scale: the scale of the new surface, or 0 to use same as @window
- * @for_window: The window this will be drawn to, on %NULL.
+ * @for_window: (allow-none): The window this will be drawn to, or %NULL
  *
  * Creates an image surface with the same contents as
  * the pixbuf.


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