[gtk+] gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation
- Date: Wed, 12 Mar 2014 15:51:15 +0000 (UTC)
commit 1ff2161431f7642e8435087b093679dd8edf57e6
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 d63d116..066f5c4 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]