diff options
Diffstat (limited to 'gobject/gobject.c')
-rw-r--r-- | gobject/gobject.c | 6 |
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); |