ComboBox: Clarify documentation of get_active_iter
authorDaniel Boles <dboles@src.gnome.org>
Thu, 24 Aug 2017 11:46:47 +0000 (12:46 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 24 Aug 2017 19:57:01 +0000 (20:57 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=618160

gtk/gtkcombobox.c

index b1b9ad1abec72e30c417d243fbb252fb4207e1c4..a661c6974d170aad5a908150abdbdabc260f35ef 100644 (file)
@@ -3888,11 +3888,12 @@ gtk_combo_box_set_active_internal (GtkComboBox *combo_box,
 /**
  * gtk_combo_box_get_active_iter:
  * @combo_box: A #GtkComboBox
- * @iter: (out): The uninitialized #GtkTreeIter
+ * @iter: (out): A #GtkTreeIter
  *
- * Sets @iter to point to the current active item, if it exists.
+ * Sets @iter to point to the currently active item, if any item is active.
+ * Otherwise, @iter is left unchanged.
  *
- * Returns: %TRUE, if @iter was set
+ * Returns: %TRUE if @iter was set, %FALSE otherwise
  *
  * Since: 2.4
  */