summaryrefslogtreecommitdiff
path: root/gobject/gobject.c
diff options
context:
space:
mode:
authorSophie Herold <sophie@hemio.de>2023-04-28 01:59:26 +0200
committerSophie Herold <sophie@hemio.de>2023-04-28 02:17:36 +0200
commite02808020ffbe82ad14c9bca2f4a157aa2b1b691 (patch)
tree69152391d3693bb9437b5949afbf3a11b2f04b80 /gobject/gobject.c
parent473063383df0ec135fd86b75b6f7f1dd20a8e2aa (diff)
downloadglib-wip/sophie-h/remove-nick-blurb.tar.gz
Remove all nicks and blurbs from param specswip/sophie-h/remove-nick-blurb
Nicks and blurbs don't have any practical use for gio/gobject libraries. Leaving tests untouched since this features is still used by other libraries. Closes #2991
Diffstat (limited to 'gobject/gobject.c')
-rw-r--r--gobject/gobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gobject.c b/gobject/gobject.c
index a61754b9f..1dec5062d 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -820,13 +820,13 @@ find_pspec (GObjectClass *class,
* GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
*
* obj_properties[PROP_FOO] =
- * g_param_spec_int ("foo", "Foo", "Foo",
+ * g_param_spec_int ("foo", NULL, NULL,
* -1, G_MAXINT,
* 0,
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
*
* obj_properties[PROP_BAR] =
- * g_param_spec_string ("bar", "Bar", "Bar",
+ * g_param_spec_string ("bar", NULL, NULL,
* NULL,
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
*
@@ -1629,7 +1629,7 @@ g_object_notify (GObject *object,
* static void
* my_object_class_init (MyObjectClass *klass)
* {
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
* 0, 100,
* 50,
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);