diff options
author | Johan Dahlin <johan@gnome.org> | 2010-02-19 14:53:17 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-02-19 17:57:51 -0200 |
commit | fe852721123fb7dc5749c690613ca6e209363e2f (patch) | |
tree | 62ac68aab7296dbea80b199a0e1769ba5621514a /gdk/gdkpango.c | |
parent | 347d406f80f2140a466da30764171cd92aa7d7ea (diff) | |
download | gtk+-fe852721123fb7dc5749c690613ca6e209363e2f.tar.gz |
[annotations] Add allow-none
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
Diffstat (limited to 'gdk/gdkpango.c')
-rw-r--r-- | gdk/gdkpango.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c index 24efca8b29..825b238b79 100644 --- a/gdk/gdkpango.c +++ b/gdk/gdkpango.c @@ -623,7 +623,7 @@ gdk_pango_renderer_get_default (GdkScreen *screen) /** * gdk_pango_renderer_set_drawable: * @gdk_renderer: a #GdkPangoRenderer - * @drawable: the new target drawable, or %NULL + * @drawable: (allow-none): the new target drawable, or %NULL * * Sets the drawable the renderer draws to. * @@ -653,7 +653,7 @@ gdk_pango_renderer_set_drawable (GdkPangoRenderer *gdk_renderer, /** * gdk_pango_renderer_set_gc: * @gdk_renderer: a #GdkPangoRenderer - * @gc: the new GC to use for drawing, or %NULL + * @gc: (allow-none): the new GC to use for drawing, or %NULL * * Sets the GC the renderer draws with. Note that the GC must not be * modified until it is unset by calling the function again with @@ -730,7 +730,7 @@ gdk_pango_renderer_set_stipple (GdkPangoRenderer *gdk_renderer, * gdk_pango_renderer_set_override_color: * @gdk_renderer: a #GdkPangoRenderer * @part: the part to render to set the color of - * @color: the color to use, or %NULL to unset a previously + * @color: (allow-none): the color to use, or %NULL to unset a previously * set override color. * * Sets the color for a particular render part (foreground, @@ -851,8 +851,8 @@ release_renderer (PangoRenderer *renderer) * @x: the x position of start of string (in pixels) * @y: the y position of baseline (in pixels) * @line: a #PangoLayoutLine - * @foreground: foreground override color, or %NULL for none - * @background: background override color, or %NULL for none + * @foreground: (allow-none): foreground override color, or %NULL for none + * @background: (allow-none): background override color, or %NULL for none * * Render a #PangoLayoutLine onto a #GdkDrawable, overriding the * layout's normal colors with @foreground and/or @background. @@ -928,8 +928,8 @@ gdk_draw_layout_line_with_colors (GdkDrawable *drawable, * @x: the X position of the left of the layout (in pixels) * @y: the Y position of the top of the layout (in pixels) * @layout: a #PangoLayout - * @foreground: foreground override color, or %NULL for none - * @background: background override color, or %NULL for none + * @foreground: (allow-none): foreground override color, or %NULL for none + * @background: (allow-none): background override color, or %NULL for none * * Render a #PangoLayout onto a #GdkDrawable, overriding the * layout's normal colors with @foreground and/or @background. |