[gimp] libgimp: document GimpProcedureDialog's properties



commit f2cf791a25ad13ac8474c440561126d617d50fd6
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jan 5 18:37:58 2020 +0100

    libgimp: document GimpProcedureDialog's properties

 libgimp/gimpproceduredialog.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimpproceduredialog.c b/libgimp/gimpproceduredialog.c
index 5b29f387e2..9deaf6d604 100644
--- a/libgimp/gimpproceduredialog.c
+++ b/libgimp/gimpproceduredialog.c
@@ -92,12 +92,17 @@ gimp_procedure_dialog_class_init (GimpProcedureDialogClass *klass)
   object_class->set_property = gimp_procedure_dialog_set_property;
 
   props[PROP_PROCEDURE] =
-    g_param_spec_object ("procedure", NULL, NULL,
+    g_param_spec_object ("procedure",
+                         "Procedure",
+                         "The GimpProcedure this dialog is used with",
                          GIMP_TYPE_PROCEDURE,
                          GIMP_PARAM_READWRITE);
 
   props[PROP_CONFIG] =
-    g_param_spec_object ("config", NULL, NULL,
+    g_param_spec_object ("config",
+                         "Config",
+                         "The GimpProcedureConfig with the dialog's default "
+                         "values",
                          GIMP_TYPE_PROCEDURE_CONFIG,
                          GIMP_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT);


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