gtk: fix several out argument annotations

These mostly just switch from allow-none to optional, nullable, or
both, as necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=730745
This commit is contained in:
Evan Nemerson
2014-05-26 09:37:13 -07:00
parent a77765f172
commit 9db729f5a6
3 changed files with 30 additions and 22 deletions

View File

@ -1118,7 +1118,7 @@ gtk_style_real_init_from_rc (GtkStyle *style,
* @style: a #GtkStyle
* @widget_type: the #GType of a descendant of #GtkWidget
* @property_name: the name of the style property to get
* @value: a #GValue where the value of the property being
* @value: (out): a #GValue where the value of the property being
* queried will be stored
*
* Queries the value of a style property corresponding to a
@ -4663,11 +4663,11 @@ gtk_widget_path (GtkWidget *widget,
/**
* gtk_widget_class_path:
* @widget: a #GtkWidget
* @path_length: (out) (allow-none): location to store the length of the
* @path_length: (out) (optional): location to store the length of the
* class path, or %NULL
* @path: (out) (allow-none): location to store the class path as an
* @path: (out) (optional): location to store the class path as an
* allocated string, or %NULL
* @path_reversed: (out) (allow-none): location to store the reverse
* @path_reversed: (out) (optional): location to store the reverse
* class path as an allocated string, or %NULL
*
* Same as gtk_widget_path(), but always uses the name of a widgets type,