aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-04 14:40:09 -0500
committerTed Gould <ted@gould.cx>2010-06-04 14:40:09 -0500
commit5224714252e6df4b6fc93e4fb4b5526493e9e91f (patch)
tree39a41cfa6b6a70b09be599e6909496fdf2eae443 /libdbusmenu-glib/menuitem.c
parent46b9469ec87422d805a40a3834b9e5ab18f8e909 (diff)
parent724aa7b4c877c4b6302db49295e66eb8aff615e1 (diff)
downloadlibdbusmenu-5224714252e6df4b6fc93e4fb4b5526493e9e91f.tar.gz
libdbusmenu-5224714252e6df4b6fc93e4fb4b5526493e9e91f.tar.bz2
libdbusmenu-5224714252e6df4b6fc93e4fb4b5526493e9e91f.zip
* New upstream release.
* Fix annotations for GIR scanner
Diffstat (limited to 'libdbusmenu-glib/menuitem.c')
-rw-r--r--libdbusmenu-glib/menuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c
index 6a3c4bc..93c7d38 100644
--- a/libdbusmenu-glib/menuitem.c
+++ b/libdbusmenu-glib/menuitem.c
@@ -1199,7 +1199,7 @@ dbusmenu_menuitem_get_root (DbusmenuMenuitem * mi)
/**
dbusmenu_menuitem_buildxml:
@mi: #DbusmenuMenuitem to represent in XML
- @array: A list of string that will be turned into an XML file
+ @array: (element-type utf8): A list of string that will be turned into an XML file
This function will add strings to the array @array. It will put
at least one entry if this menu item has no children. If it has
@@ -1247,7 +1247,7 @@ foreach_helper (gpointer data, gpointer user_data)
dbusmenu_menuitem_foreach:
@mi: The #DbusmenItem to start from
@func: Function to call on every node in the tree
- @data: User data to pass to the function
+ @data: (closure): User data to pass to the function
This calls the function @func on this menu item and all
of the children of this item. And their children. And
@@ -1305,7 +1305,7 @@ dbusmenu_menuitem_handle_event (DbusmenuMenuitem * mi, const gchar * name, const
dbusmenu_menuitem_send_about_to_show:
@mi: The #DbusmenuMenuitem to send the signal on.
@cb: Callback to call when the call has returned.
- @cb_data: Data to pass to the callback.
+ @cb_data: (closure): Data to pass to the callback.
This function is used to send the even that the submenu
of this item is about to be shown. Callers to this event