[tepl] docs: update Amtk docs about factory functions



commit 0a1c9815cb305d1a43769e65c5a4793e7096bb7c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jul 30 17:19:52 2017 +0200

    docs: update Amtk docs about factory functions

 amtk/amtk-action-info-central-store.c |    2 +-
 amtk/amtk-action-info.c               |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/amtk/amtk-action-info-central-store.c b/amtk/amtk-action-info-central-store.c
index bae1fbe..f3f5b44 100644
--- a/amtk/amtk-action-info-central-store.c
+++ b/amtk/amtk-action-info-central-store.c
@@ -41,7 +41,7 @@
  * Advantages of AmtkActionInfoCentralStore:
  * - The central store checks if there are no duplicated action names
  *   (globally).
- * - Permits to write widget factory functions that don't require an
+ * - Permits to write AmtkFactory functions that don't require an
  *   AmtkActionInfoStore parameter.
  *
  * By having the two classes, we have the best of both worlds. We should not be
diff --git a/amtk/amtk-action-info.c b/amtk/amtk-action-info.c
index a6916b7..533f0a9 100644
--- a/amtk/amtk-action-info.c
+++ b/amtk/amtk-action-info.c
@@ -392,9 +392,8 @@ amtk_action_info_set_accels (AmtkActionInfo      *info,
  * amtk_action_info_mark_as_used:
  * @info: an #AmtkActionInfo.
  *
- * Mark @info as used. A #GtkWidget factory function that uses an
- * #AmtkActionInfo should call this function. See
- * amtk_action_info_store_check_all_used().
+ * Mark @info as used. An #AmtkFactory function that uses an #AmtkActionInfo
+ * should call this function. See amtk_action_info_store_check_all_used().
  *
  * Since: 3.0
  */
@@ -410,7 +409,7 @@ amtk_action_info_mark_as_used (AmtkActionInfo *info)
  * amtk_action_info_has_been_used:
  * @info: an #AmtkActionInfo.
  *
- * Returns: whether @info has been used by a #GtkWidget factory function.
+ * Returns: whether @info has been used by an #AmtkFactory function.
  * Since: 3.0
  */
 gboolean


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