[gnome-builder/wip/gtk4-port: 198/343] libide/gui: add gir docs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 198/343] libide/gui: add gir docs
- Date: Mon, 4 Apr 2022 20:02:15 +0000 (UTC)
commit cfbea778174ccbfad84767b59fbb7a8d2a104367
Author: Christian Hergert <chergert redhat com>
Date: Wed Mar 30 15:15:08 2022 -0700
libide/gui: add gir docs
src/libide/gui/ide-application.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index d860d7590..1eaee8d9a 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -666,6 +666,15 @@ ide_application_find_addin_by_module_name (IdeApplication *self,
return peas_extension_set_get_extension (self->addins, plugin_info);
}
+/**
+ * ide_application_get_menu_by_id:
+ * @self: a #IdeApplication
+ * @menu_id: the menu identifier
+ *
+ * Gets the merged menu by it's identifier.
+ *
+ * Returns: (transfer none): a #GMenu
+ */
GMenu *
ide_application_get_menu_by_id (IdeApplication *self,
const char *menu_id)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]