[gnome-builder] libide/tweaks: add gi-doc for factory visitor



commit f63e82c7a62e935080018e452dc4ca4eb17d1b23
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 4 16:17:57 2022 -0700

    libide/tweaks: add gi-doc for factory visitor

 src/libide/tweaks/ide-tweaks-factory.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/src/libide/tweaks/ide-tweaks-factory.c b/src/libide/tweaks/ide-tweaks-factory.c
index dfe9ffacc..c318babed 100644
--- a/src/libide/tweaks/ide-tweaks-factory.c
+++ b/src/libide/tweaks/ide-tweaks-factory.c
@@ -221,6 +221,17 @@ _ide_tweaks_factory_inflate (IdeTweaksFactory *self)
   return ar;
 }
 
+/**
+ * ide_tweaks_factory_visit:
+ * @self: a #IdeTweaksFactory
+ * @visitor: (scope call): visitor callback
+ * @visitor_data: closure data for @visitor
+ *
+ * Like ide_tweaks_item_visit_children() but works on each factory-created
+ * child of @self.
+ *
+ * Returns: %TRUE if @visitor prematurely stopped.
+ */
 gboolean
 ide_tweaks_factory_visit (IdeTweaksFactory     *self,
                           IdeTweaksItemVisitor  visitor,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]