Add a few missing (nullable) annotations
authorTimm Bäder <mail@baedert.org>
Thu, 16 Feb 2017 11:22:33 +0000 (12:22 +0100)
committerdjb <db0451@gmail.com>
Fri, 17 Feb 2017 21:46:51 +0000 (21:46 +0000)
gtk/gtkbutton.c
gtk/gtkgesture.c
gtk/gtkimage.c

index 9b645c36940b6d3746c00d3a3b7a04ef7d2c3ef9..57d04ef036fa6da8f48ffc86f239327f5cc9c85f 100644 (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.
index 8f92f1d69c42fd478eae675afaf62ae980bf6154..979e0e8ba90feb83df966a591379b2cee6827a92 100644 (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
  **/
index 7e0443f11a1ae7e81c2b487a67fbb96bdf3df775..66f5d5289b169312b78e9a0e5434d256604a376d 100644 (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.
  *