[gtk+] gtkuimanager: clarify @pos of insert_action_group



commit c84d58ce1b50c4181f84d0146de902ef9683428e
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Sun Feb 12 18:25:03 2012 -0500

    gtkuimanager: clarify @pos of insert_action_group
    
    Mention that it is possible for it to be negative, or larger than the
    current number of action groups.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669947

 gtk/gtkuimanager.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c
index 1e644d2..13e900b 100644
--- a/gtk/gtkuimanager.c
+++ b/gtk/gtkuimanager.c
@@ -966,6 +966,10 @@ cb_proxy_post_activate (GtkActionGroup *group,
  * with @manager. Actions in earlier groups hide actions with the same 
  * name in later groups. 
  *
+ * If @pos is larger than the number of action groups in @manager, or
+ * negative, @action_group will be inserted at the end of the internal
+ * list.
+ *
  * Since: 2.4
  **/
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]