[gimp] libgimp: add missing documentation for gimp_procedure_dialog_new().
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: add missing documentation for gimp_procedure_dialog_new().
- Date: Tue, 2 Feb 2021 14:54:44 +0000 (UTC)
commit 5e9c33b2c9b20ccb643e8c1200619132912541c3
Author: Jehan <jehan girinstud io>
Date: Tue Feb 2 15:53:34 2021 +0100
libgimp: add missing documentation for gimp_procedure_dialog_new().
This is important for introspection in particular with annotations.
libgimp/gimpproceduredialog.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/libgimp/gimpproceduredialog.c b/libgimp/gimpproceduredialog.c
index d99191043e..a85361dda9 100644
--- a/libgimp/gimpproceduredialog.c
+++ b/libgimp/gimpproceduredialog.c
@@ -360,6 +360,18 @@ gimp_procedure_dialog_real_fill_list (GimpProcedureDialog *dialog,
}
}
+/**
+ * gimp_procedure_dialog_new:
+ * @procedure: the associated #GimpProcedure.
+ * @config: a #GimpProcedureConfig from which properties will be
+ * turned into widgets.
+ * @title: a dialog title.
+ *
+ * Creates a new dialog for @procedure using widgets generated from
+ * properties of @config.
+ *
+ * Returns: (transfer full): the newly created #GimpProcedureDialog.
+ */
GtkWidget *
gimp_procedure_dialog_new (GimpProcedure *procedure,
GimpProcedureConfig *config,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]