From 1ff2161431f7642e8435087b093679dd8edf57e6 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 12 Mar 2014 11:49:14 -0400 Subject: [PATCH] gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation The window is allowed to be %NULL --- gdk/gdkcairo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index d63d11650f..066f5c434d 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.