aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 22:27:14 -0600
committerTed Gould <ted@gould.cx>2011-02-21 22:27:14 -0600
commit75a1e1a6f35403836f1798fb623fca302e7b4655 (patch)
treed93763d5361894e22fe8ede03d4ca1a8e746dec4 /libdbusmenu-gtk/parser.c
parent30bc24e086369326e5ca885e6559d6328cefbd82 (diff)
parentd6a7a584a891989b87f966f7e58775423d894b76 (diff)
downloadlibdbusmenu-75a1e1a6f35403836f1798fb623fca302e7b4655.tar.gz
libdbusmenu-75a1e1a6f35403836f1798fb623fca302e7b4655.tar.bz2
libdbusmenu-75a1e1a6f35403836f1798fb623fca302e7b4655.zip
Add in a defaults database
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)
{