[totem] main: Add API docs for GMenu functions
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Add API docs for GMenu functions
- Date: Wed, 8 May 2013 10:59:06 +0000 (UTC)
commit fdb63b20a633cd038728883b2f3f5337004a15e0
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 8 12:57:36 2013 +0200
main: Add API docs for GMenu functions
src/totem-object.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 026aadc..ccb41e6 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -526,6 +526,13 @@ totem_object_get_ui_manager (TotemObject *totem)
return totem->ui_manager;
}
+/**
+ * totem_object_get_menu_section:
+ * @totem: a #TotemObject
+ * @id: the ID for the menu section to look up
+ *
+ * Return value: (transfer none): a #GMenu or %NULL on failure
+ **/
GMenu *
totem_object_get_menu_section (TotemObject *totem,
const char *id)
@@ -535,6 +542,13 @@ totem_object_get_menu_section (TotemObject *totem,
return (GMenu *) gtk_builder_get_object (totem->xml, id);
}
+/**
+ * totem_object_empty_menu_section:
+ * @totem: a #TotemObject
+ * @id: the ID for the menu section to empty
+ *
+ * Empty the GMenu section pointed to by @id.
+ **/
void
totem_object_empty_menu_section (TotemObject *totem,
const char *id)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]