aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 10:51:29 -0600
committerTed Gould <ted@gould.cx>2011-02-21 10:51:29 -0600
commit34248e4fe3aeef17be5fe9f2339057fbaee81ad2 (patch)
treeea542e3edd8a0fe5be5f0863aecb83078b51206d /libdbusmenu-gtk/parser.c
parent87703b408d42ce97b5a64142b0c33951d366890a (diff)
parent5b9418cb4be5823df8eb7c01f854eed0a13a2c9f (diff)
downloadlibdbusmenu-34248e4fe3aeef17be5fe9f2339057fbaee81ad2.tar.gz
libdbusmenu-34248e4fe3aeef17be5fe9f2339057fbaee81ad2.tar.bz2
libdbusmenu-34248e4fe3aeef17be5fe9f2339057fbaee81ad2.zip
Fixing annotations and adding tests with python.
Diffstat (limited to 'libdbusmenu-gtk/parser.c')
-rw-r--r--libdbusmenu-gtk/parser.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 8aa2837..f516dde 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -85,16 +85,16 @@ static void menuitem_notify_cb (GtkWidget * widget,
gpointer data);
/**
- dbusmenu_gtk_parse_menu_structure:
- @widget: A #GtkMenuItem or #GtkMenuShell to turn into a #DbusmenuMenuitem
-
- Goes through the GTK structures and turns them into the appropraite
- Dbusmenu structures along with setting up all the relationships
- between the objects. It also stores the dbusmenu items as a cache
- on the GTK items so that they'll be reused if necissary.
-
- Return value: A dbusmenu item representing the menu structure
-*/
+ * dbusmenu_gtk_parse_menu_structure:
+ * @widget: A #GtkMenuItem or #GtkMenuShell to turn into a #DbusmenuMenuitem
+ *
+ * Goes through the GTK structures and turns them into the appropraite
+ * Dbusmenu structures along with setting up all the relationships
+ * between the objects. It also stores the dbusmenu items as a cache
+ * on the GTK items so that they'll be reused if necissary.
+ *
+ * Return value: (transfer full): A dbusmenu item representing the menu structure
+ */
DbusmenuMenuitem *
dbusmenu_gtk_parse_menu_structure (GtkWidget * widget)
{