mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +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
@@ -1492,9 +1492,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_APPLICATION_ID,
|
||||
g_param_spec_string ("application-id",
|
||||
P_("Application identifier"),
|
||||
P_("The unique identifier for the application"),
|
||||
g_param_spec_string ("application-id", NULL, NULL,
|
||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
@@ -1506,9 +1504,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_FLAGS,
|
||||
g_param_spec_flags ("flags",
|
||||
P_("Application flags"),
|
||||
P_("Flags specifying the behaviour of the application"),
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
G_TYPE_APPLICATION_FLAGS, G_APPLICATION_DEFAULT_FLAGS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
@@ -1520,9 +1516,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_RESOURCE_BASE_PATH,
|
||||
g_param_spec_string ("resource-base-path",
|
||||
P_("Resource base path"),
|
||||
P_("The base resource path for the application"),
|
||||
g_param_spec_string ("resource-base-path", NULL, NULL,
|
||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@@ -1533,9 +1527,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_IS_REGISTERED,
|
||||
g_param_spec_boolean ("is-registered",
|
||||
P_("Is registered"),
|
||||
P_("If g_application_register() has been called"),
|
||||
g_param_spec_boolean ("is-registered", NULL, NULL,
|
||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@@ -1546,9 +1538,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_IS_REMOTE,
|
||||
g_param_spec_boolean ("is-remote",
|
||||
P_("Is remote"),
|
||||
P_("If this application instance is remote"),
|
||||
g_param_spec_boolean ("is-remote", NULL, NULL,
|
||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
@@ -1559,9 +1549,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_INACTIVITY_TIMEOUT,
|
||||
g_param_spec_uint ("inactivity-timeout",
|
||||
P_("Inactivity timeout"),
|
||||
P_("Time (ms) to stay alive after becoming idle"),
|
||||
g_param_spec_uint ("inactivity-timeout", NULL, NULL,
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
@@ -1573,9 +1561,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_ACTION_GROUP,
|
||||
g_param_spec_object ("action-group",
|
||||
P_("Action group"),
|
||||
P_("The group of actions that the application exports"),
|
||||
g_param_spec_object ("action-group", NULL, NULL,
|
||||
G_TYPE_ACTION_GROUP,
|
||||
G_PARAM_DEPRECATED | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
@@ -1588,9 +1574,7 @@ g_application_class_init (GApplicationClass *class)
|
||||
* Since: 2.44
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_IS_BUSY,
|
||||
g_param_spec_boolean ("is-busy",
|
||||
P_("Is busy"),
|
||||
P_("If this application is currently marked busy"),
|
||||
g_param_spec_boolean ("is-busy", NULL, NULL,
|
||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user