Add a few missing (nullable) annotations

This commit is contained in:
Timm Bäder
2017-02-16 12:22:33 +01:00
committed by djb
parent 98c04230c3
commit 8aa9fb38a3
3 changed files with 4 additions and 4 deletions

View File

@ -1417,7 +1417,7 @@ gtk_button_new_with_label (const gchar *label)
/**
* gtk_button_new_from_icon_name:
* @icon_name: an icon name
* @icon_name: (nullable): an icon name or %NULL
* @size: (type int): an icon size (#GtkIconSize)
*
* Creates a new button containing an icon from the current icon theme.

View File

@ -1523,12 +1523,12 @@ _gtk_gesture_check (GtkGesture *gesture)
/**
* gtk_gesture_handles_sequence:
* @gesture: a #GtkGesture
* @sequence: a #GdkEventSequence
* @sequence: (nullable): a #GdkEventSequence or %NULL
*
* Returns %TRUE if @gesture is currently handling events corresponding to
* @sequence.
*
* Returns: %TRUE if @gesture is handling @sequence
* Returns: %TRUE if @gesture is handling @sequence, %FALSE otherwise
*
* Since: 3.14
**/

View File

@ -1284,7 +1284,7 @@ gtk_image_set_from_gicon (GtkImage *image,
/**
* gtk_image_set_from_surface:
* @image: a #GtkImage
* @surface: a cairo_surface_t
* @surface: (nullable): a cairo_surface_t or %NULL
*
* See gtk_image_new_from_surface() for details.
*