[libdazzle] menus: add docs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] menus: add docs
- Date: Fri, 1 Sep 2017 21:17:59 +0000 (UTC)
commit b94a119416e6bc5895c2c32772f066b996310052
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 1 14:17:28 2017 -0700
menus: add docs
src/menus/dzl-menu-manager.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/menus/dzl-menu-manager.c b/src/menus/dzl-menu-manager.c
index efa60ac..bccd6ee 100644
--- a/src/menus/dzl-menu-manager.c
+++ b/src/menus/dzl-menu-manager.c
@@ -562,6 +562,17 @@ dzl_menu_manager_merge (DzlMenuManager *self,
return merge_id;
}
+/**
+ * dzl_menu_manager_remove:
+ * @self: a #DzlMenuManager
+ * @merge_id: A previously registered merge id
+ *
+ * This removes items from menus that were added as part of a previous
+ * menu merge. Use the value returned from dzl_menu_manager_merge() as
+ * the @merge_id.
+ *
+ * Since: 3.26
+ */
void
dzl_menu_manager_remove (DzlMenuManager *self,
guint merge_id)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]