mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-28 11:54:15 +02:00
Remove all nicks and blurbs from param specs
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
This commit is contained in:
committed by
Philip Withnall
parent
f3aebf0c15
commit
0d268c4825
@@ -886,9 +886,7 @@ g_binding_class_init (GBindingClass *klass)
|
||||
* Since: 2.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_SOURCE,
|
||||
g_param_spec_object ("source",
|
||||
P_("Source"),
|
||||
P_("The source of the binding"),
|
||||
g_param_spec_object ("source", NULL, NULL,
|
||||
G_TYPE_OBJECT,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READWRITE |
|
||||
@@ -901,9 +899,7 @@ g_binding_class_init (GBindingClass *klass)
|
||||
* Since: 2.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_TARGET,
|
||||
g_param_spec_object ("target",
|
||||
P_("Target"),
|
||||
P_("The target of the binding"),
|
||||
g_param_spec_object ("target", NULL, NULL,
|
||||
G_TYPE_OBJECT,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READWRITE |
|
||||
@@ -920,9 +916,7 @@ g_binding_class_init (GBindingClass *klass)
|
||||
* Since: 2.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_SOURCE_PROPERTY,
|
||||
g_param_spec_string ("source-property",
|
||||
P_("Source Property"),
|
||||
P_("The property on the source to bind"),
|
||||
g_param_spec_string ("source-property", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READWRITE |
|
||||
@@ -939,9 +933,7 @@ g_binding_class_init (GBindingClass *klass)
|
||||
* Since: 2.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_TARGET_PROPERTY,
|
||||
g_param_spec_string ("target-property",
|
||||
P_("Target Property"),
|
||||
P_("The property on the target to bind"),
|
||||
g_param_spec_string ("target-property", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_READWRITE |
|
||||
@@ -954,9 +946,7 @@ g_binding_class_init (GBindingClass *klass)
|
||||
* Since: 2.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
||||
g_param_spec_flags ("flags",
|
||||
P_("Flags"),
|
||||
P_("The binding flags"),
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
G_TYPE_BINDING_FLAGS,
|
||||
G_BINDING_DEFAULT,
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@@ -345,9 +345,7 @@ g_binding_group_class_init (GBindingGroupClass *klass)
|
||||
* Since: 2.72
|
||||
*/
|
||||
properties[PROP_SOURCE] =
|
||||
g_param_spec_object ("source",
|
||||
"Source",
|
||||
"The source GObject used for binding properties.",
|
||||
g_param_spec_object ("source", NULL, NULL,
|
||||
G_TYPE_OBJECT,
|
||||
(G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
|
@@ -749,13 +749,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);
|
||||
*
|
||||
@@ -1565,7 +1565,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);
|
||||
|
@@ -610,9 +610,7 @@ g_signal_group_class_init (GSignalGroupClass *klass)
|
||||
* Since: 2.72
|
||||
*/
|
||||
properties[PROP_TARGET] =
|
||||
g_param_spec_object ("target",
|
||||
"Target",
|
||||
"The target instance used when connecting signals.",
|
||||
g_param_spec_object ("target", NULL, NULL,
|
||||
G_TYPE_OBJECT,
|
||||
(G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
@@ -624,9 +622,7 @@ g_signal_group_class_init (GSignalGroupClass *klass)
|
||||
* Since: 2.72
|
||||
*/
|
||||
properties[PROP_TARGET_TYPE] =
|
||||
g_param_spec_gtype ("target-type",
|
||||
"Target Type",
|
||||
"The GType of the target property.",
|
||||
g_param_spec_gtype ("target-type", NULL, NULL,
|
||||
G_TYPE_OBJECT,
|
||||
(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
|
Reference in New Issue
Block a user