summaryrefslogtreecommitdiff
path: root/gtk/gtkitemfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkitemfactory.c')
-rw-r--r--gtk/gtkitemfactory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkitemfactory.c b/gtk/gtkitemfactory.c
index 944780f47c..780d2d7b1c 100644
--- a/gtk/gtkitemfactory.c
+++ b/gtk/gtkitemfactory.c
@@ -710,8 +710,11 @@ gtk_item_factory_get_widget (GtkItemFactory *ifactory,
* @returns: the widget which corresponds to the given action, or %NULL
* if no widget was found
*
- * Obtains the widget which was constructed from the first #GtkItemFactoryEntry
+ * Obtains the widget which was constructed from the #GtkItemFactoryEntry
* with the given @action.
+ *
+ * If there are multiple items with the same action, the result is
+ * undefined.
*/
GtkWidget*
gtk_item_factory_get_widget_by_action (GtkItemFactory *ifactory,