libgimp: add blurbs to all object properties for the docs

and some minor doc fixes.
This commit is contained in:
Michael Natterer
2017-06-06 21:19:17 +02:00
parent 4f4d6b27cf
commit f9ee38ea33
32 changed files with 253 additions and 96 deletions

View File

@ -119,7 +119,9 @@ gimp_dialog_class_init (GimpDialogClass *klass)
* Since: 2.2
**/
g_object_class_install_property (object_class, PROP_HELP_FUNC,
g_param_spec_pointer ("help-func", NULL, NULL,
g_param_spec_pointer ("help-func",
"Help Func",
"The help function to call when F1 is hit",
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
@ -129,7 +131,9 @@ gimp_dialog_class_init (GimpDialogClass *klass)
* Since: 2.2
**/
g_object_class_install_property (object_class, PROP_HELP_ID,
g_param_spec_string ("help-id", NULL, NULL,
g_param_spec_string ("help-id",
"Help ID",
"The help ID to pass to help-func",
NULL,
GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
@ -140,7 +144,9 @@ gimp_dialog_class_init (GimpDialogClass *klass)
* Since: 2.8
**/
g_object_class_install_property (object_class, PROP_PARENT,
g_param_spec_object ("parent", NULL, NULL,
g_param_spec_object ("parent",
"Parent",
"The dialog's parent widget",
GTK_TYPE_WIDGET,
GIMP_PARAM_WRITABLE |
G_PARAM_CONSTRUCT_ONLY));