gtk: port many nullability annotation fixes from Vala bindings

https://bugzilla.gnome.org/show_bug.cgi?id=730745
This commit is contained in:
Evan Nemerson
2014-05-26 09:13:02 -07:00
parent 4d1930cf74
commit 54ec42f035
22 changed files with 103 additions and 90 deletions

View File

@ -4498,12 +4498,12 @@ gtk_widget_modify_base (GtkWidget *widget,
/**
* gtk_widget_modify_cursor:
* @widget: a #GtkWidget
* @primary: the color to use for primary cursor (does not need to be
* allocated), or %NULL to undo the effect of previous calls to
* of gtk_widget_modify_cursor().
* @secondary: the color to use for secondary cursor (does not need to be
* allocated), or %NULL to undo the effect of previous calls to
* of gtk_widget_modify_cursor().
* @primary: (nullable): the color to use for primary cursor (does not
* need to be allocated), or %NULL to undo the effect of previous
* calls to of gtk_widget_modify_cursor().
* @secondary: (nullable): the color to use for secondary cursor (does
* not need to be allocated), or %NULL to undo the effect of
* previous calls to of gtk_widget_modify_cursor().
*
* Sets the cursor color to use in a widget, overriding the #GtkWidget
* cursor-color and secondary-cursor-color