[gtk+/gtk-2-22] annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param



commit 1bd94d731b969af3aecfa96ce733f3f68fd25392
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Jun 7 16:15:39 2010 -0400

    annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param

 gtk/gtkimagemenuitem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 3c93476..f634d71 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -726,8 +726,8 @@ gtk_image_menu_item_new_with_mnemonic (const gchar *label)
 /**
  * gtk_image_menu_item_new_from_stock:
  * @stock_id: the name of the stock item.
- * @accel_group: the #GtkAccelGroup to add the menu items accelerator to,
- *   or %NULL.
+ * @accel_group: (allow-none): the #GtkAccelGroup to add the menu items 
+ *   accelerator to, or %NULL.
  * @returns: a new #GtkImageMenuItem.
  *
  * Creates a new #GtkImageMenuItem containing the image and text from a 



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