diff options
author | Martin Pitt <martin@piware.de> | 2011-02-16 21:06:14 +0100 |
---|---|---|
committer | Martin Pitt <martin@piware.de> | 2011-02-16 21:06:14 +0100 |
commit | 558fa9265c05452de03ddd9f8543dfdce1b81e7b (patch) | |
tree | d0a05cd706483b249b10f6dc9b68757aa16bd420 /libdbusmenu-gtk/menu.c | |
parent | 98e01df8406f305f8d232cf41e5facaf559afe0f (diff) | |
download | libdbusmenu-558fa9265c05452de03ddd9f8543dfdce1b81e7b.tar.gz libdbusmenu-558fa9265c05452de03ddd9f8543dfdce1b81e7b.tar.bz2 libdbusmenu-558fa9265c05452de03ddd9f8543dfdce1b81e7b.zip |
Fix GI annotations for DbusmenuGtk
Diffstat (limited to 'libdbusmenu-gtk/menu.c')
-rw-r--r-- | libdbusmenu-gtk/menu.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libdbusmenu-gtk/menu.c b/libdbusmenu-gtk/menu.c index 2a27fe2..9788ffc 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_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 + */ 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) { |