[gnome-builder/wip/gtk4-port] libide/gui: add gir docs



commit 5c9b2cc940b736ad86436bb19c53f3f02a39e8a9
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]