aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/menu.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-02-23 11:50:08 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-02-23 11:50:08 -0500
commitab94a74938900977222683f8427d9bfdf0b6f0b8 (patch)
tree881fbb6e81483afc51cd57f2ad8adc01a60ef731 /libdbusmenu-gtk/menu.c
parent25160024c6c2c64cbd14529abd0796b6f3be83d3 (diff)
parentfbb337084d705302b965278525f0bb7bc2580d35 (diff)
downloadlibdbusmenu-ab94a74938900977222683f8427d9bfdf0b6f0b8.tar.gz
libdbusmenu-ab94a74938900977222683f8427d9bfdf0b6f0b8.tar.bz2
libdbusmenu-ab94a74938900977222683f8427d9bfdf0b6f0b8.zip
* Merged from trunk (rev 220)
- Cleaning up cleaning up so we don't unref twice and crash - Fixing the signatures to make them more consistent - Adding defaults to translatable files - Support a set of defaults and not sending them over the bus. - Fixing annotations and adding tests with python.
Diffstat (limited to 'libdbusmenu-gtk/menu.c')
-rw-r--r--libdbusmenu-gtk/menu.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/libdbusmenu-gtk/menu.c b/libdbusmenu-gtk/menu.c
index 2a27fe2..c2720ac 100644
--- a/libdbusmenu-gtk/menu.c
+++ b/libdbusmenu-gtk/menu.c
@@ -398,15 +398,15 @@ build_client (DbusmenuGtkMenu * self)
/* Public API */
/**
- dbusmenu_gtkmenu_new:
- @dbus_name: Name of the #DbusmenuServer on DBus
- @dbus_name: Name of the object on the #DbusmenuServer
-
- Creates a new #DbusmenuGtkMenu object and creates a #DbusmenuClient
- that connects across DBus to a #DbusmenuServer.
-
- Return value: A new #DbusmenuGtkMenu sync'd with a server
-*/
+ * dbusmenu_gtkmenu_new:
+ * @dbus_name: Name of the #DbusmenuServer on DBus
+ * @dbus_object: Name of the object on the #DbusmenuServer
+ *
+ * Creates a new #DbusmenuGtkMenu object and creates a #DbusmenuClient
+ * that connects across DBus to a #DbusmenuServer.
+ *
+ * Return value: A new #DbusmenuGtkMenu sync'd with a server
+ */
DbusmenuGtkMenu *
dbusmenu_gtkmenu_new (gchar * dbus_name, gchar * dbus_object)
{
@@ -417,14 +417,14 @@ dbusmenu_gtkmenu_new (gchar * dbus_name, gchar * dbus_object)
}
/**
- dbusmenu_gtkmenu_get_client:
- @menu: The #DbusmenuGtkMenu to get the client from
-
- An accessor for the client that this menu is using to
- communicate with the server.
-
- Return value: A valid #DbusmenuGtkClient or NULL on error.
-*/
+ * dbusmenu_gtkmenu_get_client:
+ * @menu: The #DbusmenuGtkMenu to get the client from
+ *
+ * An accessor for the client that this menu is using to
+ * communicate with the server.
+ *
+ * Return value: (transfer none): A valid #DbusmenuGtkClient or NULL on error.
+ */
DbusmenuGtkClient *
dbusmenu_gtkmenu_get_client (DbusmenuGtkMenu * menu)
{