summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-08-24 12:46:47 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-08-24 21:32:05 +0100
commit73c689eb5a4aa432720cfa07d85671b13eedacc5 (patch)
treeb6b739bd563cb913e35de1c3e39323fad54628cd /gtk/gtkcombobox.c
parent12693c6fe31692d42552793a227d280917d35d6e (diff)
downloadgtk+-73c689eb5a4aa432720cfa07d85671b13eedacc5.tar.gz
ComboBox: Clarify documentation of get_active_iter
https://bugzilla.gnome.org/show_bug.cgi?id=618160
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 1ddbbe300c..474eb21da2 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2377,11 +2377,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
*/