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 /gtk/gtklinkbutton.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 'gtk/gtklinkbutton.c')
-rw-r--r-- | gtk/gtklinkbutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index eaa6678dc2..3fa7f955eb 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -703,9 +703,9 @@ gtk_link_button_get_uri (GtkLinkButton *link_button) /** * gtk_link_button_set_uri_hook: - * @func: a function called each time a #GtkLinkButton is clicked, or %NULL - * @data: user data to be passed to @func, or %NULL - * @destroy: a #GDestroyNotify that gets called when @data is no longer needed, or %NULL + * @func: (allow-none): a function called each time a #GtkLinkButton is clicked, or %NULL + * @data: (allow-none): user data to be passed to @func, or %NULL + * @destroy: (allow-none): a #GDestroyNotify that gets called when @data is no longer needed, or %NULL * * Sets @func as the function that should be invoked every time a user clicks * a #GtkLinkButton. This function is called before every callback registered |