mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01: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:
parent
f3aebf0c15
commit
0d268c4825
@ -90,9 +90,7 @@ g_action_default_init (GActionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_string ("name",
|
g_param_spec_string ("name", NULL, NULL,
|
||||||
P_("Action Name"),
|
|
||||||
P_("The name used to invoke the action"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -107,9 +105,7 @@ g_action_default_init (GActionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boxed ("parameter-type",
|
g_param_spec_boxed ("parameter-type", NULL, NULL,
|
||||||
P_("Parameter Type"),
|
|
||||||
P_("The type of GVariant passed to activate()"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -125,9 +121,7 @@ g_action_default_init (GActionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("enabled",
|
g_param_spec_boolean ("enabled", NULL, NULL,
|
||||||
P_("Enabled"),
|
|
||||||
P_("If the action can be activated"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -141,9 +135,7 @@ g_action_default_init (GActionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boxed ("state-type",
|
g_param_spec_boxed ("state-type", NULL, NULL,
|
||||||
P_("State Type"),
|
|
||||||
P_("The type of the state kept by the action"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -156,9 +148,7 @@ g_action_default_init (GActionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_variant ("state",
|
g_param_spec_variant ("state", NULL, NULL,
|
||||||
P_("State"),
|
|
||||||
P_("The state the action is in"),
|
|
||||||
G_VARIANT_TYPE_ANY,
|
G_VARIANT_TYPE_ANY,
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
|
@ -1492,9 +1492,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_APPLICATION_ID,
|
g_object_class_install_property (object_class, PROP_APPLICATION_ID,
|
||||||
g_param_spec_string ("application-id",
|
g_param_spec_string ("application-id", NULL, NULL,
|
||||||
P_("Application identifier"),
|
|
||||||
P_("The unique identifier for the application"),
|
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -1506,9 +1504,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_FLAGS,
|
g_object_class_install_property (object_class, PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("Application flags"),
|
|
||||||
P_("Flags specifying the behaviour of the application"),
|
|
||||||
G_TYPE_APPLICATION_FLAGS, G_APPLICATION_DEFAULT_FLAGS,
|
G_TYPE_APPLICATION_FLAGS, G_APPLICATION_DEFAULT_FLAGS,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -1520,9 +1516,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_RESOURCE_BASE_PATH,
|
g_object_class_install_property (object_class, PROP_RESOURCE_BASE_PATH,
|
||||||
g_param_spec_string ("resource-base-path",
|
g_param_spec_string ("resource-base-path", NULL, NULL,
|
||||||
P_("Resource base path"),
|
|
||||||
P_("The base resource path for the application"),
|
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1533,9 +1527,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_IS_REGISTERED,
|
g_object_class_install_property (object_class, PROP_IS_REGISTERED,
|
||||||
g_param_spec_boolean ("is-registered",
|
g_param_spec_boolean ("is-registered", NULL, NULL,
|
||||||
P_("Is registered"),
|
|
||||||
P_("If g_application_register() has been called"),
|
|
||||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1546,9 +1538,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_IS_REMOTE,
|
g_object_class_install_property (object_class, PROP_IS_REMOTE,
|
||||||
g_param_spec_boolean ("is-remote",
|
g_param_spec_boolean ("is-remote", NULL, NULL,
|
||||||
P_("Is remote"),
|
|
||||||
P_("If this application instance is remote"),
|
|
||||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1559,9 +1549,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_INACTIVITY_TIMEOUT,
|
g_object_class_install_property (object_class, PROP_INACTIVITY_TIMEOUT,
|
||||||
g_param_spec_uint ("inactivity-timeout",
|
g_param_spec_uint ("inactivity-timeout", NULL, NULL,
|
||||||
P_("Inactivity timeout"),
|
|
||||||
P_("Time (ms) to stay alive after becoming idle"),
|
|
||||||
0, G_MAXUINT, 0,
|
0, G_MAXUINT, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -1573,9 +1561,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_ACTION_GROUP,
|
g_object_class_install_property (object_class, PROP_ACTION_GROUP,
|
||||||
g_param_spec_object ("action-group",
|
g_param_spec_object ("action-group", NULL, NULL,
|
||||||
P_("Action group"),
|
|
||||||
P_("The group of actions that the application exports"),
|
|
||||||
G_TYPE_ACTION_GROUP,
|
G_TYPE_ACTION_GROUP,
|
||||||
G_PARAM_DEPRECATED | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_DEPRECATED | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -1588,9 +1574,7 @@ g_application_class_init (GApplicationClass *class)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_IS_BUSY,
|
g_object_class_install_property (object_class, PROP_IS_BUSY,
|
||||||
g_param_spec_boolean ("is-busy",
|
g_param_spec_boolean ("is-busy", NULL, NULL,
|
||||||
P_("Is busy"),
|
|
||||||
P_("If this application is currently marked busy"),
|
|
||||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -447,9 +447,7 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_ARGUMENTS,
|
g_object_class_install_property (object_class, PROP_ARGUMENTS,
|
||||||
g_param_spec_variant ("arguments",
|
g_param_spec_variant ("arguments", NULL, NULL,
|
||||||
P_("Commandline arguments"),
|
|
||||||
P_("The commandline that caused this ::command-line signal emission"),
|
|
||||||
G_VARIANT_TYPE_BYTESTRING_ARRAY, NULL,
|
G_VARIANT_TYPE_BYTESTRING_ARRAY, NULL,
|
||||||
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -462,9 +460,7 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_OPTIONS,
|
g_object_class_install_property (object_class, PROP_OPTIONS,
|
||||||
g_param_spec_variant ("options",
|
g_param_spec_variant ("options", NULL, NULL,
|
||||||
P_("Options"),
|
|
||||||
P_("The options sent along with the commandline"),
|
|
||||||
G_VARIANT_TYPE_VARDICT, NULL, G_PARAM_WRITABLE |
|
G_VARIANT_TYPE_VARDICT, NULL, G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -476,9 +472,7 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_PLATFORM_DATA,
|
g_object_class_install_property (object_class, PROP_PLATFORM_DATA,
|
||||||
g_param_spec_variant ("platform-data",
|
g_param_spec_variant ("platform-data", NULL, NULL,
|
||||||
P_("Platform data"),
|
|
||||||
P_("Platform-specific data for the commandline"),
|
|
||||||
G_VARIANT_TYPE ("a{sv}"), NULL,
|
G_VARIANT_TYPE ("a{sv}"), NULL,
|
||||||
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -491,9 +485,7 @@ g_application_command_line_class_init (GApplicationCommandLineClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_IS_REMOTE,
|
g_object_class_install_property (object_class, PROP_IS_REMOTE,
|
||||||
g_param_spec_boolean ("is-remote",
|
g_param_spec_boolean ("is-remote", NULL, NULL,
|
||||||
P_("Is remote"),
|
|
||||||
P_("TRUE if this is a remote commandline"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -164,9 +164,7 @@ g_buffered_input_stream_class_init (GBufferedInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BUFSIZE,
|
PROP_BUFSIZE,
|
||||||
g_param_spec_uint ("buffer-size",
|
g_param_spec_uint ("buffer-size", NULL, NULL,
|
||||||
P_("Buffer Size"),
|
|
||||||
P_("The size of the backend buffer"),
|
|
||||||
1,
|
1,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
DEFAULT_BUFFER_SIZE,
|
DEFAULT_BUFFER_SIZE,
|
||||||
|
@ -152,9 +152,7 @@ g_buffered_output_stream_class_init (GBufferedOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BUFSIZE,
|
PROP_BUFSIZE,
|
||||||
g_param_spec_uint ("buffer-size",
|
g_param_spec_uint ("buffer-size", NULL, NULL,
|
||||||
P_("Buffer Size"),
|
|
||||||
P_("The size of the backend buffer"),
|
|
||||||
1,
|
1,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
DEFAULT_BUFFER_SIZE,
|
DEFAULT_BUFFER_SIZE,
|
||||||
@ -168,9 +166,7 @@ g_buffered_output_stream_class_init (GBufferedOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_AUTO_GROW,
|
PROP_AUTO_GROW,
|
||||||
g_param_spec_boolean ("auto-grow",
|
g_param_spec_boolean ("auto-grow", NULL, NULL,
|
||||||
P_("Auto-grow"),
|
|
||||||
P_("Whether the buffer should automatically grow"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
|
@ -127,9 +127,7 @@ g_bytes_icon_class_init (GBytesIconClass *klass)
|
|||||||
* The bytes containing the icon.
|
* The bytes containing the icon.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_BYTES,
|
g_object_class_install_property (gobject_class, PROP_BYTES,
|
||||||
g_param_spec_boxed ("bytes",
|
g_param_spec_boxed ("bytes", NULL, NULL,
|
||||||
P_("bytes"),
|
|
||||||
P_("The bytes containing the icon"),
|
|
||||||
G_TYPE_BYTES,
|
G_TYPE_BYTES,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -161,9 +161,7 @@ g_charset_converter_class_init (GCharsetConverterClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_TO_CHARSET,
|
PROP_TO_CHARSET,
|
||||||
g_param_spec_string ("to-charset",
|
g_param_spec_string ("to-charset", NULL, NULL,
|
||||||
P_("To Charset"),
|
|
||||||
P_("The character encoding to convert to"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -177,9 +175,7 @@ g_charset_converter_class_init (GCharsetConverterClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FROM_CHARSET,
|
PROP_FROM_CHARSET,
|
||||||
g_param_spec_string ("from-charset",
|
g_param_spec_string ("from-charset", NULL, NULL,
|
||||||
P_("From Charset"),
|
|
||||||
P_("The character encoding to convert from"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -193,9 +189,7 @@ g_charset_converter_class_init (GCharsetConverterClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_USE_FALLBACK,
|
PROP_USE_FALLBACK,
|
||||||
g_param_spec_boolean ("use-fallback",
|
g_param_spec_boolean ("use-fallback", NULL, NULL,
|
||||||
P_("Fallback enabled"),
|
|
||||||
P_("Use fallback (of form \\<hexval>) for invalid bytes"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
|
@ -120,9 +120,7 @@ g_converter_input_stream_class_init (GConverterInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CONVERTER,
|
PROP_CONVERTER,
|
||||||
g_param_spec_object ("converter",
|
g_param_spec_object ("converter", NULL, NULL,
|
||||||
P_("Converter"),
|
|
||||||
P_("The converter object"),
|
|
||||||
G_TYPE_CONVERTER,
|
G_TYPE_CONVERTER,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_CONSTRUCT_ONLY|
|
G_PARAM_CONSTRUCT_ONLY|
|
||||||
|
@ -136,9 +136,7 @@ g_converter_output_stream_class_init (GConverterOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CONVERTER,
|
PROP_CONVERTER,
|
||||||
g_param_spec_object ("converter",
|
g_param_spec_object ("converter", NULL, NULL,
|
||||||
P_("Converter"),
|
|
||||||
P_("The converter object"),
|
|
||||||
G_TYPE_CONVERTER,
|
G_TYPE_CONVERTER,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_CONSTRUCT_ONLY|
|
G_PARAM_CONSTRUCT_ONLY|
|
||||||
|
@ -82,9 +82,7 @@ g_data_input_stream_class_init (GDataInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BYTE_ORDER,
|
PROP_BYTE_ORDER,
|
||||||
g_param_spec_enum ("byte-order",
|
g_param_spec_enum ("byte-order", NULL, NULL,
|
||||||
P_("Byte order"),
|
|
||||||
P_("The byte order"),
|
|
||||||
G_TYPE_DATA_STREAM_BYTE_ORDER,
|
G_TYPE_DATA_STREAM_BYTE_ORDER,
|
||||||
G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN,
|
G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN,
|
||||||
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
||||||
@ -97,9 +95,7 @@ g_data_input_stream_class_init (GDataInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_NEWLINE_TYPE,
|
PROP_NEWLINE_TYPE,
|
||||||
g_param_spec_enum ("newline-type",
|
g_param_spec_enum ("newline-type", NULL, NULL,
|
||||||
P_("Newline type"),
|
|
||||||
P_("The accepted types of line ending"),
|
|
||||||
G_TYPE_DATA_STREAM_NEWLINE_TYPE,
|
G_TYPE_DATA_STREAM_NEWLINE_TYPE,
|
||||||
G_DATA_STREAM_NEWLINE_TYPE_LF,
|
G_DATA_STREAM_NEWLINE_TYPE_LF,
|
||||||
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
||||||
|
@ -94,9 +94,7 @@ g_data_output_stream_class_init (GDataOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BYTE_ORDER,
|
PROP_BYTE_ORDER,
|
||||||
g_param_spec_enum ("byte-order",
|
g_param_spec_enum ("byte-order", NULL, NULL,
|
||||||
P_("Byte order"),
|
|
||||||
P_("The byte order"),
|
|
||||||
G_TYPE_DATA_STREAM_BYTE_ORDER,
|
G_TYPE_DATA_STREAM_BYTE_ORDER,
|
||||||
G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN,
|
G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN,
|
||||||
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
|
||||||
|
@ -172,9 +172,7 @@ _g_dbus_auth_class_init (GDBusAuthClass *klass)
|
|||||||
|
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_STREAM,
|
PROP_STREAM,
|
||||||
g_param_spec_object ("stream",
|
g_param_spec_object ("stream", NULL, NULL,
|
||||||
P_("IO Stream"),
|
|
||||||
P_("The underlying GIOStream used for I/O"),
|
|
||||||
G_TYPE_IO_STREAM,
|
G_TYPE_IO_STREAM,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -122,9 +122,7 @@ _g_dbus_auth_mechanism_class_init (GDBusAuthMechanismClass *klass)
|
|||||||
|
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_STREAM,
|
PROP_STREAM,
|
||||||
g_param_spec_object ("stream",
|
g_param_spec_object ("stream", NULL, NULL,
|
||||||
P_("IO Stream"),
|
|
||||||
P_("The underlying GIOStream used for I/O"),
|
|
||||||
G_TYPE_IO_STREAM,
|
G_TYPE_IO_STREAM,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -144,9 +142,7 @@ _g_dbus_auth_mechanism_class_init (GDBusAuthMechanismClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CREDENTIALS,
|
PROP_CREDENTIALS,
|
||||||
g_param_spec_object ("credentials",
|
g_param_spec_object ("credentials", NULL, NULL,
|
||||||
P_("Credentials"),
|
|
||||||
P_("The credentials of the remote peer"),
|
|
||||||
G_TYPE_CREDENTIALS,
|
G_TYPE_CREDENTIALS,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -815,9 +815,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_STREAM,
|
PROP_STREAM,
|
||||||
g_param_spec_object ("stream",
|
g_param_spec_object ("stream", NULL, NULL,
|
||||||
P_("IO Stream"),
|
|
||||||
P_("The underlying streams used for I/O"),
|
|
||||||
G_TYPE_IO_STREAM,
|
G_TYPE_IO_STREAM,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -836,9 +834,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ADDRESS,
|
PROP_ADDRESS,
|
||||||
g_param_spec_string ("address",
|
g_param_spec_string ("address", NULL, NULL,
|
||||||
P_("Address"),
|
|
||||||
P_("D-Bus address specifying potential socket endpoints"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -855,9 +851,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FLAGS,
|
PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("Flags"),
|
|
||||||
P_("Flags"),
|
|
||||||
G_TYPE_DBUS_CONNECTION_FLAGS,
|
G_TYPE_DBUS_CONNECTION_FLAGS,
|
||||||
G_DBUS_CONNECTION_FLAGS_NONE,
|
G_DBUS_CONNECTION_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -897,9 +891,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_GUID,
|
PROP_GUID,
|
||||||
g_param_spec_string ("guid",
|
g_param_spec_string ("guid", NULL, NULL,
|
||||||
P_("GUID"),
|
|
||||||
P_("GUID of the server peer"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -918,9 +910,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_UNIQUE_NAME,
|
PROP_UNIQUE_NAME,
|
||||||
g_param_spec_string ("unique-name",
|
g_param_spec_string ("unique-name", NULL, NULL,
|
||||||
P_("unique-name"),
|
|
||||||
P_("Unique name of bus connection"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
@ -936,9 +926,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CLOSED,
|
PROP_CLOSED,
|
||||||
g_param_spec_boolean ("closed",
|
g_param_spec_boolean ("closed", NULL, NULL,
|
||||||
P_("Closed"),
|
|
||||||
P_("Whether the connection is closed"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
@ -959,9 +947,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_EXIT_ON_CLOSE,
|
PROP_EXIT_ON_CLOSE,
|
||||||
g_param_spec_boolean ("exit-on-close",
|
g_param_spec_boolean ("exit-on-close", NULL, NULL,
|
||||||
P_("Exit on close"),
|
|
||||||
P_("Whether the process is terminated when the connection is closed"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -979,9 +965,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CAPABILITY_FLAGS,
|
PROP_CAPABILITY_FLAGS,
|
||||||
g_param_spec_flags ("capabilities",
|
g_param_spec_flags ("capabilities", NULL, NULL,
|
||||||
P_("Capabilities"),
|
|
||||||
P_("Capabilities"),
|
|
||||||
G_TYPE_DBUS_CAPABILITY_FLAGS,
|
G_TYPE_DBUS_CAPABILITY_FLAGS,
|
||||||
G_DBUS_CAPABILITY_FLAGS_NONE,
|
G_DBUS_CAPABILITY_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -998,9 +982,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_AUTHENTICATION_OBSERVER,
|
PROP_AUTHENTICATION_OBSERVER,
|
||||||
g_param_spec_object ("authentication-observer",
|
g_param_spec_object ("authentication-observer", NULL, NULL,
|
||||||
P_("Authentication Observer"),
|
|
||||||
P_("Object used to assist in the authentication process"),
|
|
||||||
G_TYPE_DBUS_AUTH_OBSERVER,
|
G_TYPE_DBUS_AUTH_OBSERVER,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -1692,9 +1692,7 @@ g_dbus_daemon_class_init (GDBusDaemonClass *klass)
|
|||||||
|
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ADDRESS,
|
PROP_ADDRESS,
|
||||||
g_param_spec_string ("address",
|
g_param_spec_string ("address", NULL, NULL,
|
||||||
"Bus Address",
|
|
||||||
"The address the bus should use",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -192,9 +192,7 @@ g_dbus_interface_skeleton_class_init (GDBusInterfaceSkeletonClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_FLAGS,
|
PROP_G_FLAGS,
|
||||||
g_param_spec_flags ("g-flags",
|
g_param_spec_flags ("g-flags", NULL, NULL,
|
||||||
"g-flags",
|
|
||||||
"Flags for the interface skeleton",
|
|
||||||
G_TYPE_DBUS_INTERFACE_SKELETON_FLAGS,
|
G_TYPE_DBUS_INTERFACE_SKELETON_FLAGS,
|
||||||
G_DBUS_INTERFACE_SKELETON_FLAGS_NONE,
|
G_DBUS_INTERFACE_SKELETON_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
|
@ -569,9 +569,7 @@ g_dbus_message_class_init (GDBusMessageClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_LOCKED,
|
PROP_LOCKED,
|
||||||
g_param_spec_boolean ("locked",
|
g_param_spec_boolean ("locked", NULL, NULL,
|
||||||
P_("Locked"),
|
|
||||||
P_("Whether the message is locked"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
|
@ -363,9 +363,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CONNECTION,
|
PROP_CONNECTION,
|
||||||
g_param_spec_object ("connection",
|
g_param_spec_object ("connection", NULL, NULL,
|
||||||
"Connection",
|
|
||||||
"The connection to use",
|
|
||||||
G_TYPE_DBUS_CONNECTION,
|
G_TYPE_DBUS_CONNECTION,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -384,9 +382,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_BUS_TYPE,
|
PROP_BUS_TYPE,
|
||||||
g_param_spec_enum ("bus-type",
|
g_param_spec_enum ("bus-type", NULL, NULL,
|
||||||
"Bus Type",
|
|
||||||
"The bus to connect to, if any",
|
|
||||||
G_TYPE_BUS_TYPE,
|
G_TYPE_BUS_TYPE,
|
||||||
G_BUS_TYPE_NONE,
|
G_BUS_TYPE_NONE,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -404,9 +400,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FLAGS,
|
PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
"Flags",
|
|
||||||
"Flags for the proxy manager",
|
|
||||||
G_TYPE_DBUS_OBJECT_MANAGER_CLIENT_FLAGS,
|
G_TYPE_DBUS_OBJECT_MANAGER_CLIENT_FLAGS,
|
||||||
G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE,
|
G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -425,9 +419,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_OBJECT_PATH,
|
PROP_OBJECT_PATH,
|
||||||
g_param_spec_string ("object-path",
|
g_param_spec_string ("object-path", NULL, NULL,
|
||||||
"Object Path",
|
|
||||||
"The object path of the control object",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -443,9 +435,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_NAME,
|
PROP_NAME,
|
||||||
g_param_spec_string ("name",
|
g_param_spec_string ("name", NULL, NULL,
|
||||||
"Name",
|
|
||||||
"Name that the manager is for",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -463,9 +453,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_NAME_OWNER,
|
PROP_NAME_OWNER,
|
||||||
g_param_spec_string ("name-owner",
|
g_param_spec_string ("name-owner", NULL, NULL,
|
||||||
"Name Owner",
|
|
||||||
"The owner of the name we are watching",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -480,9 +468,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_GET_PROXY_TYPE_FUNC,
|
PROP_GET_PROXY_TYPE_FUNC,
|
||||||
g_param_spec_pointer ("get-proxy-type-func",
|
g_param_spec_pointer ("get-proxy-type-func", NULL, NULL,
|
||||||
"GDBusProxyTypeFunc Function Pointer",
|
|
||||||
"The GDBusProxyTypeFunc pointer to use",
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -497,9 +483,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_GET_PROXY_TYPE_USER_DATA,
|
PROP_GET_PROXY_TYPE_USER_DATA,
|
||||||
g_param_spec_pointer ("get-proxy-type-user-data",
|
g_param_spec_pointer ("get-proxy-type-user-data", NULL, NULL,
|
||||||
"GDBusProxyTypeFunc User Data",
|
|
||||||
"The GDBusProxyTypeFunc user_data",
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -514,9 +498,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_GET_PROXY_TYPE_DESTROY_NOTIFY,
|
PROP_GET_PROXY_TYPE_DESTROY_NOTIFY,
|
||||||
g_param_spec_pointer ("get-proxy-type-destroy-notify",
|
g_param_spec_pointer ("get-proxy-type-destroy-notify", NULL, NULL,
|
||||||
"GDBusProxyTypeFunc user data free function",
|
|
||||||
"The GDBusProxyTypeFunc user data free function",
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -209,9 +209,7 @@ g_dbus_object_manager_server_class_init (GDBusObjectManagerServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CONNECTION,
|
PROP_CONNECTION,
|
||||||
g_param_spec_object ("connection",
|
g_param_spec_object ("connection", NULL, NULL,
|
||||||
"Connection",
|
|
||||||
"The connection to export objects on",
|
|
||||||
G_TYPE_DBUS_CONNECTION,
|
G_TYPE_DBUS_CONNECTION,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -226,9 +224,7 @@ g_dbus_object_manager_server_class_init (GDBusObjectManagerServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_OBJECT_PATH,
|
PROP_OBJECT_PATH,
|
||||||
g_param_spec_string ("object-path",
|
g_param_spec_string ("object-path", NULL, NULL,
|
||||||
"Object Path",
|
|
||||||
"The object path to register the manager object at",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -152,9 +152,7 @@ g_dbus_object_proxy_class_init (GDBusObjectProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_OBJECT_PATH,
|
PROP_G_OBJECT_PATH,
|
||||||
g_param_spec_string ("g-object-path",
|
g_param_spec_string ("g-object-path", NULL, NULL,
|
||||||
"Object Path",
|
|
||||||
"The object path of the proxy",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -169,9 +167,7 @@ g_dbus_object_proxy_class_init (GDBusObjectProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_CONNECTION,
|
PROP_G_CONNECTION,
|
||||||
g_param_spec_object ("g-connection",
|
g_param_spec_object ("g-connection", NULL, NULL,
|
||||||
"Connection",
|
|
||||||
"The connection of the proxy",
|
|
||||||
G_TYPE_DBUS_CONNECTION,
|
G_TYPE_DBUS_CONNECTION,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -157,9 +157,7 @@ g_dbus_object_skeleton_class_init (GDBusObjectSkeletonClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_OBJECT_PATH,
|
PROP_G_OBJECT_PATH,
|
||||||
g_param_spec_string ("g-object-path",
|
g_param_spec_string ("g-object-path", NULL, NULL,
|
||||||
"Object Path",
|
|
||||||
"The object path where the object is exported",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -369,9 +369,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_INTERFACE_INFO,
|
PROP_G_INTERFACE_INFO,
|
||||||
g_param_spec_boxed ("g-interface-info",
|
g_param_spec_boxed ("g-interface-info", NULL, NULL,
|
||||||
P_("Interface Information"),
|
|
||||||
P_("Interface Information"),
|
|
||||||
G_TYPE_DBUS_INTERFACE_INFO,
|
G_TYPE_DBUS_INTERFACE_INFO,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -388,9 +386,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_CONNECTION,
|
PROP_G_CONNECTION,
|
||||||
g_param_spec_object ("g-connection",
|
g_param_spec_object ("g-connection", NULL, NULL,
|
||||||
P_("g-connection"),
|
|
||||||
P_("The connection the proxy is for"),
|
|
||||||
G_TYPE_DBUS_CONNECTION,
|
G_TYPE_DBUS_CONNECTION,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -411,9 +407,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_BUS_TYPE,
|
PROP_G_BUS_TYPE,
|
||||||
g_param_spec_enum ("g-bus-type",
|
g_param_spec_enum ("g-bus-type", NULL, NULL,
|
||||||
P_("Bus Type"),
|
|
||||||
P_("The bus to connect to, if any"),
|
|
||||||
G_TYPE_BUS_TYPE,
|
G_TYPE_BUS_TYPE,
|
||||||
G_BUS_TYPE_NONE,
|
G_BUS_TYPE_NONE,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -431,9 +425,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_FLAGS,
|
PROP_G_FLAGS,
|
||||||
g_param_spec_flags ("g-flags",
|
g_param_spec_flags ("g-flags", NULL, NULL,
|
||||||
P_("g-flags"),
|
|
||||||
P_("Flags for the proxy"),
|
|
||||||
G_TYPE_DBUS_PROXY_FLAGS,
|
G_TYPE_DBUS_PROXY_FLAGS,
|
||||||
G_DBUS_PROXY_FLAGS_NONE,
|
G_DBUS_PROXY_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -452,9 +444,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_NAME,
|
PROP_G_NAME,
|
||||||
g_param_spec_string ("g-name",
|
g_param_spec_string ("g-name", NULL, NULL,
|
||||||
P_("g-name"),
|
|
||||||
P_("The well-known or unique name that the proxy is for"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -474,9 +464,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_NAME_OWNER,
|
PROP_G_NAME_OWNER,
|
||||||
g_param_spec_string ("g-name-owner",
|
g_param_spec_string ("g-name-owner", NULL, NULL,
|
||||||
P_("g-name-owner"),
|
|
||||||
P_("The unique name for the owner"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
@ -492,9 +480,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_OBJECT_PATH,
|
PROP_G_OBJECT_PATH,
|
||||||
g_param_spec_string ("g-object-path",
|
g_param_spec_string ("g-object-path", NULL, NULL,
|
||||||
P_("g-object-path"),
|
|
||||||
P_("The object path the proxy is for"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -512,9 +498,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_INTERFACE_NAME,
|
PROP_G_INTERFACE_NAME,
|
||||||
g_param_spec_string ("g-interface-name",
|
g_param_spec_string ("g-interface-name", NULL, NULL,
|
||||||
P_("g-interface-name"),
|
|
||||||
P_("The D-Bus interface name the proxy is for"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -539,9 +523,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_G_DEFAULT_TIMEOUT,
|
PROP_G_DEFAULT_TIMEOUT,
|
||||||
g_param_spec_int ("g-default-timeout",
|
g_param_spec_int ("g-default-timeout", NULL, NULL,
|
||||||
P_("Default Timeout"),
|
|
||||||
P_("Timeout for remote method invocation"),
|
|
||||||
-1,
|
-1,
|
||||||
G_MAXINT,
|
G_MAXINT,
|
||||||
-1,
|
-1,
|
||||||
|
@ -298,9 +298,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FLAGS,
|
PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("Flags"),
|
|
||||||
P_("Flags for the server"),
|
|
||||||
G_TYPE_DBUS_SERVER_FLAGS,
|
G_TYPE_DBUS_SERVER_FLAGS,
|
||||||
G_DBUS_SERVER_FLAGS_NONE,
|
G_DBUS_SERVER_FLAGS_NONE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -321,9 +319,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_GUID,
|
PROP_GUID,
|
||||||
g_param_spec_string ("guid",
|
g_param_spec_string ("guid", NULL, NULL,
|
||||||
P_("GUID"),
|
|
||||||
P_("The guid of the server"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -341,9 +337,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ADDRESS,
|
PROP_ADDRESS,
|
||||||
g_param_spec_string ("address",
|
g_param_spec_string ("address", NULL, NULL,
|
||||||
P_("Address"),
|
|
||||||
P_("The address to listen on"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
@ -361,9 +355,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CLIENT_ADDRESS,
|
PROP_CLIENT_ADDRESS,
|
||||||
g_param_spec_string ("client-address",
|
g_param_spec_string ("client-address", NULL, NULL,
|
||||||
P_("Client Address"),
|
|
||||||
P_("The address clients can use"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
@ -379,9 +371,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ACTIVE,
|
PROP_ACTIVE,
|
||||||
g_param_spec_boolean ("active",
|
g_param_spec_boolean ("active", NULL, NULL,
|
||||||
P_("Active"),
|
|
||||||
P_("Whether the server is currently active"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_NAME |
|
G_PARAM_STATIC_NAME |
|
||||||
@ -397,9 +387,7 @@ g_dbus_server_class_init (GDBusServerClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_AUTHENTICATION_OBSERVER,
|
PROP_AUTHENTICATION_OBSERVER,
|
||||||
g_param_spec_object ("authentication-observer",
|
g_param_spec_object ("authentication-observer", NULL, NULL,
|
||||||
P_("Authentication Observer"),
|
|
||||||
P_("Object used to assist in the authentication process"),
|
|
||||||
G_TYPE_DBUS_AUTH_OBSERVER,
|
G_TYPE_DBUS_AUTH_OBSERVER,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -66,9 +66,7 @@ g_debug_controller_default_init (GDebugControllerInterface *iface)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("debug-enabled",
|
g_param_spec_boolean ("debug-enabled", NULL, NULL,
|
||||||
"Debug Enabled",
|
|
||||||
"Whether to expose debug output",
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS |
|
G_PARAM_STATIC_STRINGS |
|
||||||
|
@ -561,8 +561,7 @@ g_debug_controller_dbus_class_init (GDebugControllerDBusClass *klass)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
props[PROP_CONNECTION] =
|
props[PROP_CONNECTION] =
|
||||||
g_param_spec_object ("connection", "D-Bus Connection",
|
g_param_spec_object ("connection", NULL, NULL,
|
||||||
"The D-Bus connection to expose the debugging interface on.",
|
|
||||||
G_TYPE_DBUS_CONNECTION,
|
G_TYPE_DBUS_CONNECTION,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -1781,7 +1781,7 @@ g_desktop_app_info_class_init (GDesktopAppInfoClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FILENAME,
|
PROP_FILENAME,
|
||||||
g_param_spec_string ("filename", "Filename", "", NULL,
|
g_param_spec_string ("filename", NULL, NULL, NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,9 +70,7 @@ g_dtls_client_connection_default_init (GDtlsClientConnectionInterface *iface)
|
|||||||
* Deprecated: 2.74: Do not attempt to ignore validation errors.
|
* Deprecated: 2.74: Do not attempt to ignore validation errors.
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_flags ("validation-flags",
|
g_param_spec_flags ("validation-flags", NULL, NULL,
|
||||||
P_("Validation flags"),
|
|
||||||
P_("What certificate validation to perform"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
||||||
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -100,9 +98,7 @@ g_dtls_client_connection_default_init (GDtlsClientConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("server-identity",
|
g_param_spec_object ("server-identity", NULL, NULL,
|
||||||
P_("Server identity"),
|
|
||||||
P_("GSocketConnectable identifying the server"),
|
|
||||||
G_TYPE_SOCKET_CONNECTABLE,
|
G_TYPE_SOCKET_CONNECTABLE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -122,9 +118,7 @@ g_dtls_client_connection_default_init (GDtlsClientConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_pointer ("accepted-cas",
|
g_param_spec_pointer ("accepted-cas", NULL, NULL,
|
||||||
P_("Accepted CAs"),
|
|
||||||
P_("Distinguished names of the CAs the server accepts certificates from"),
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -96,9 +96,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("base-socket",
|
g_param_spec_object ("base-socket", NULL, NULL,
|
||||||
P_("Base Socket"),
|
|
||||||
P_("The GDatagramBased that the connection wraps"),
|
|
||||||
G_TYPE_DATAGRAM_BASED,
|
G_TYPE_DATAGRAM_BASED,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -126,9 +124,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("database",
|
g_param_spec_object ("database", NULL, NULL,
|
||||||
P_("Database"),
|
|
||||||
P_("Certificate database to use for looking up or verifying certificates"),
|
|
||||||
G_TYPE_TLS_DATABASE,
|
G_TYPE_TLS_DATABASE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -142,9 +138,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("interaction",
|
g_param_spec_object ("interaction", NULL, NULL,
|
||||||
P_("Interaction"),
|
|
||||||
P_("Optional object for user interaction"),
|
|
||||||
G_TYPE_TLS_INTERACTION,
|
G_TYPE_TLS_INTERACTION,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -157,9 +151,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("require-close-notify",
|
g_param_spec_boolean ("require-close-notify", NULL, NULL,
|
||||||
P_("Require close notify"),
|
|
||||||
P_("Whether to require proper TLS close notification"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -175,9 +167,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Deprecated: 2.60: The rehandshake mode is ignored.
|
* Deprecated: 2.60: The rehandshake mode is ignored.
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_enum ("rehandshake-mode",
|
g_param_spec_enum ("rehandshake-mode", NULL, NULL,
|
||||||
P_("Rehandshake mode"),
|
|
||||||
P_("When to allow rehandshaking"),
|
|
||||||
G_TYPE_TLS_REHANDSHAKE_MODE,
|
G_TYPE_TLS_REHANDSHAKE_MODE,
|
||||||
G_TLS_REHANDSHAKE_NEVER,
|
G_TLS_REHANDSHAKE_NEVER,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -193,9 +183,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("certificate",
|
g_param_spec_object ("certificate", NULL, NULL,
|
||||||
P_("Certificate"),
|
|
||||||
P_("The connection’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE,
|
G_TYPE_TLS_CERTIFICATE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -212,9 +200,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("peer-certificate",
|
g_param_spec_object ("peer-certificate", NULL, NULL,
|
||||||
P_("Peer Certificate"),
|
|
||||||
P_("The connection’s peer’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE,
|
G_TYPE_TLS_CERTIFICATE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -239,9 +225,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_flags ("peer-certificate-errors",
|
g_param_spec_flags ("peer-certificate-errors", NULL, NULL,
|
||||||
P_("Peer Certificate Errors"),
|
|
||||||
P_("Errors found with the peer’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
||||||
0,
|
0,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -256,9 +240,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.60
|
* Since: 2.60
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boxed ("advertised-protocols",
|
g_param_spec_boxed ("advertised-protocols", NULL, NULL,
|
||||||
P_("Advertised Protocols"),
|
|
||||||
P_("Application-layer protocols available on this connection"),
|
|
||||||
G_TYPE_STRV,
|
G_TYPE_STRV,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -271,9 +253,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.60
|
* Since: 2.60
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_string ("negotiated-protocol",
|
g_param_spec_string ("negotiated-protocol", NULL, NULL,
|
||||||
P_("Negotiated Protocol"),
|
|
||||||
P_("Application-layer protocol negotiated for this connection"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -286,9 +266,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_enum ("protocol-version",
|
g_param_spec_enum ("protocol-version", NULL, NULL,
|
||||||
P_("Protocol Version"),
|
|
||||||
P_("DTLS protocol version negotiated for this connection"),
|
|
||||||
G_TYPE_TLS_PROTOCOL_VERSION,
|
G_TYPE_TLS_PROTOCOL_VERSION,
|
||||||
G_TLS_PROTOCOL_VERSION_UNKNOWN,
|
G_TLS_PROTOCOL_VERSION_UNKNOWN,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -302,9 +280,7 @@ g_dtls_connection_default_init (GDtlsConnectionInterface *iface)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_string ("ciphersuite-name",
|
g_param_spec_string ("ciphersuite-name", NULL, NULL,
|
||||||
P_("Ciphersuite Name"),
|
|
||||||
P_("Name of ciphersuite negotiated for this connection"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -54,9 +54,7 @@ g_dtls_server_connection_default_init (GDtlsServerConnectionInterface *iface)
|
|||||||
* Since: 2.48
|
* Since: 2.48
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_enum ("authentication-mode",
|
g_param_spec_enum ("authentication-mode", NULL, NULL,
|
||||||
P_("Authentication Mode"),
|
|
||||||
P_("The client authentication mode"),
|
|
||||||
G_TYPE_TLS_AUTHENTICATION_MODE,
|
G_TYPE_TLS_AUTHENTICATION_MODE,
|
||||||
G_TLS_AUTHENTICATION_NONE,
|
G_TLS_AUTHENTICATION_NONE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -143,9 +143,7 @@ g_emblem_class_init (GEmblemClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ORIGIN,
|
PROP_ORIGIN,
|
||||||
g_param_spec_enum ("origin",
|
g_param_spec_enum ("origin", NULL, NULL,
|
||||||
P_("GEmblem’s origin"),
|
|
||||||
P_("Tells which origin the emblem is derived from"),
|
|
||||||
G_TYPE_EMBLEM_ORIGIN,
|
G_TYPE_EMBLEM_ORIGIN,
|
||||||
G_EMBLEM_ORIGIN_UNKNOWN,
|
G_EMBLEM_ORIGIN_UNKNOWN,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
@ -159,9 +157,7 @@ g_emblem_class_init (GEmblemClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_ICON,
|
PROP_ICON,
|
||||||
g_param_spec_object ("icon",
|
g_param_spec_object ("icon", NULL, NULL,
|
||||||
P_("The icon of the emblem"),
|
|
||||||
P_("The actual icon of the emblem"),
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
@ -131,9 +131,7 @@ g_emblemed_icon_class_init (GEmblemedIconClass *klass)
|
|||||||
* Since: 2.18
|
* Since: 2.18
|
||||||
*/
|
*/
|
||||||
properties[PROP_GICON] =
|
properties[PROP_GICON] =
|
||||||
g_param_spec_object ("gicon",
|
g_param_spec_object ("gicon", NULL, NULL,
|
||||||
P_("The base GIcon"),
|
|
||||||
P_("The GIcon to attach emblems to"),
|
|
||||||
G_TYPE_ICON,
|
G_TYPE_ICON,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
|
@ -164,8 +164,7 @@ g_file_enumerator_class_init (GFileEnumeratorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(gobject_class, PROP_CONTAINER,
|
(gobject_class, PROP_CONTAINER,
|
||||||
g_param_spec_object ("container", P_("Container"),
|
g_param_spec_object ("container", NULL, NULL,
|
||||||
P_("The container that is being enumerated"),
|
|
||||||
G_TYPE_FILE,
|
G_TYPE_FILE,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -153,9 +153,7 @@ g_file_icon_class_init (GFileIconClass *klass)
|
|||||||
* The file containing the icon.
|
* The file containing the icon.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FILE,
|
g_object_class_install_property (gobject_class, PROP_FILE,
|
||||||
g_param_spec_object ("file",
|
g_param_spec_object ("file", NULL, NULL,
|
||||||
P_("file"),
|
|
||||||
P_("The file containing the icon"),
|
|
||||||
G_TYPE_FILE,
|
G_TYPE_FILE,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
||||||
}
|
}
|
||||||
|
@ -194,9 +194,7 @@ g_file_monitor_class_init (GFileMonitorClass *klass)
|
|||||||
* The limit of the monitor to watch for changes, in milliseconds.
|
* The limit of the monitor to watch for changes, in milliseconds.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_RATE_LIMIT,
|
g_object_class_install_property (object_class, PROP_RATE_LIMIT,
|
||||||
g_param_spec_int ("rate-limit",
|
g_param_spec_int ("rate-limit", NULL, NULL,
|
||||||
P_("Rate limit"),
|
|
||||||
P_("The limit of the monitor to watch for changes, in milliseconds"),
|
|
||||||
0, G_MAXINT, DEFAULT_RATE_LIMIT_MSECS, G_PARAM_READWRITE |
|
0, G_MAXINT, DEFAULT_RATE_LIMIT_MSECS, G_PARAM_READWRITE |
|
||||||
G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -206,9 +204,7 @@ g_file_monitor_class_init (GFileMonitorClass *klass)
|
|||||||
* Whether the monitor has been cancelled.
|
* Whether the monitor has been cancelled.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_CANCELLED,
|
g_object_class_install_property (object_class, PROP_CANCELLED,
|
||||||
g_param_spec_boolean ("cancelled",
|
g_param_spec_boolean ("cancelled", NULL, NULL,
|
||||||
P_("Cancelled"),
|
|
||||||
P_("Whether the monitor has been cancelled"),
|
|
||||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,9 +96,7 @@ g_filter_input_stream_class_init (GFilterInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BASE_STREAM,
|
PROP_BASE_STREAM,
|
||||||
g_param_spec_object ("base-stream",
|
g_param_spec_object ("base-stream", NULL, NULL,
|
||||||
P_("The Filter Base Stream"),
|
|
||||||
P_("The underlying base stream on which the io ops will be done."),
|
|
||||||
G_TYPE_INPUT_STREAM,
|
G_TYPE_INPUT_STREAM,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -110,9 +108,7 @@ g_filter_input_stream_class_init (GFilterInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CLOSE_BASE,
|
PROP_CLOSE_BASE,
|
||||||
g_param_spec_boolean ("close-base-stream",
|
g_param_spec_boolean ("close-base-stream", NULL, NULL,
|
||||||
P_("Close Base Stream"),
|
|
||||||
P_("If the base stream should be closed when the filter stream is closed."),
|
|
||||||
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
}
|
}
|
||||||
|
@ -95,9 +95,7 @@ g_filter_output_stream_class_init (GFilterOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_BASE_STREAM,
|
PROP_BASE_STREAM,
|
||||||
g_param_spec_object ("base-stream",
|
g_param_spec_object ("base-stream", NULL, NULL,
|
||||||
P_("The Filter Base Stream"),
|
|
||||||
P_("The underlying base stream on which the io ops will be done."),
|
|
||||||
G_TYPE_OUTPUT_STREAM,
|
G_TYPE_OUTPUT_STREAM,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -109,9 +107,7 @@ g_filter_output_stream_class_init (GFilterOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CLOSE_BASE,
|
PROP_CLOSE_BASE,
|
||||||
g_param_spec_boolean ("close-base-stream",
|
g_param_spec_boolean ("close-base-stream", NULL, NULL,
|
||||||
P_("Close Base Stream"),
|
|
||||||
P_("If the base stream should be closed when the filter stream is closed."),
|
|
||||||
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
}
|
}
|
||||||
|
@ -193,9 +193,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||||
g_param_spec_enum ("family",
|
g_param_spec_enum ("family", NULL, NULL,
|
||||||
P_("Address family"),
|
|
||||||
P_("The address family (IPv4 or IPv6)"),
|
|
||||||
G_TYPE_SOCKET_FAMILY,
|
G_TYPE_SOCKET_FAMILY,
|
||||||
G_SOCKET_FAMILY_INVALID,
|
G_SOCKET_FAMILY_INVALID,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -210,9 +208,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_BYTES,
|
g_object_class_install_property (gobject_class, PROP_BYTES,
|
||||||
g_param_spec_pointer ("bytes",
|
g_param_spec_pointer ("bytes", NULL, NULL,
|
||||||
P_("Bytes"),
|
|
||||||
P_("The raw address data"),
|
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -226,9 +222,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_ANY,
|
g_object_class_install_property (gobject_class, PROP_IS_ANY,
|
||||||
g_param_spec_boolean ("is-any",
|
g_param_spec_boolean ("is-any", NULL, NULL,
|
||||||
P_("Is any"),
|
|
||||||
P_("Whether this is the \"any\" address for its family"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -242,9 +236,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_LINK_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_LINK_LOCAL,
|
||||||
g_param_spec_boolean ("is-link-local",
|
g_param_spec_boolean ("is-link-local", NULL, NULL,
|
||||||
P_("Is link-local"),
|
|
||||||
P_("Whether this is a link-local address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -258,9 +250,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_LOOPBACK,
|
g_object_class_install_property (gobject_class, PROP_IS_LOOPBACK,
|
||||||
g_param_spec_boolean ("is-loopback",
|
g_param_spec_boolean ("is-loopback", NULL, NULL,
|
||||||
P_("Is loopback"),
|
|
||||||
P_("Whether this is the loopback address for its family"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -274,9 +264,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_SITE_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_SITE_LOCAL,
|
||||||
g_param_spec_boolean ("is-site-local",
|
g_param_spec_boolean ("is-site-local", NULL, NULL,
|
||||||
P_("Is site-local"),
|
|
||||||
P_("Whether this is a site-local address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -290,9 +278,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MULTICAST,
|
g_object_class_install_property (gobject_class, PROP_IS_MULTICAST,
|
||||||
g_param_spec_boolean ("is-multicast",
|
g_param_spec_boolean ("is-multicast", NULL, NULL,
|
||||||
P_("Is multicast"),
|
|
||||||
P_("Whether this is a multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -306,9 +292,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MC_GLOBAL,
|
g_object_class_install_property (gobject_class, PROP_IS_MC_GLOBAL,
|
||||||
g_param_spec_boolean ("is-mc-global",
|
g_param_spec_boolean ("is-mc-global", NULL, NULL,
|
||||||
P_("Is multicast global"),
|
|
||||||
P_("Whether this is a global multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -323,9 +307,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MC_LINK_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_MC_LINK_LOCAL,
|
||||||
g_param_spec_boolean ("is-mc-link-local",
|
g_param_spec_boolean ("is-mc-link-local", NULL, NULL,
|
||||||
P_("Is multicast link-local"),
|
|
||||||
P_("Whether this is a link-local multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -339,9 +321,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MC_NODE_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_MC_NODE_LOCAL,
|
||||||
g_param_spec_boolean ("is-mc-node-local",
|
g_param_spec_boolean ("is-mc-node-local", NULL, NULL,
|
||||||
P_("Is multicast node-local"),
|
|
||||||
P_("Whether this is a node-local multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -355,9 +335,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MC_ORG_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_MC_ORG_LOCAL,
|
||||||
g_param_spec_boolean ("is-mc-org-local",
|
g_param_spec_boolean ("is-mc-org-local", NULL, NULL,
|
||||||
P_("Is multicast org-local"),
|
|
||||||
P_("Whether this is an organization-local multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -371,9 +349,7 @@ g_inet_address_class_init (GInetAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IS_MC_SITE_LOCAL,
|
g_object_class_install_property (gobject_class, PROP_IS_MC_SITE_LOCAL,
|
||||||
g_param_spec_boolean ("is-mc-site-local",
|
g_param_spec_boolean ("is-mc-site-local", NULL, NULL,
|
||||||
P_("Is multicast site-local"),
|
|
||||||
P_("Whether this is a site-local multicast address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -143,9 +143,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||||
g_param_spec_enum ("family",
|
g_param_spec_enum ("family", NULL, NULL,
|
||||||
P_("Address family"),
|
|
||||||
P_("The address family (IPv4 or IPv6)"),
|
|
||||||
G_TYPE_SOCKET_FAMILY,
|
G_TYPE_SOCKET_FAMILY,
|
||||||
G_SOCKET_FAMILY_INVALID,
|
G_SOCKET_FAMILY_INVALID,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -159,9 +157,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ADDRESS,
|
g_object_class_install_property (gobject_class, PROP_ADDRESS,
|
||||||
g_param_spec_object ("address",
|
g_param_spec_object ("address", NULL, NULL,
|
||||||
P_("Address"),
|
|
||||||
P_("The base address"),
|
|
||||||
G_TYPE_INET_ADDRESS,
|
G_TYPE_INET_ADDRESS,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -174,9 +170,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_LENGTH,
|
g_object_class_install_property (gobject_class, PROP_LENGTH,
|
||||||
g_param_spec_uint ("length",
|
g_param_spec_uint ("length", NULL, NULL,
|
||||||
P_("Length"),
|
|
||||||
P_("The prefix length"),
|
|
||||||
0, 128, 0,
|
0, 128, 0,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -255,9 +255,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ADDRESS,
|
g_object_class_install_property (gobject_class, PROP_ADDRESS,
|
||||||
g_param_spec_object ("address",
|
g_param_spec_object ("address", NULL, NULL,
|
||||||
P_("Address"),
|
|
||||||
P_("The address"),
|
|
||||||
G_TYPE_INET_ADDRESS,
|
G_TYPE_INET_ADDRESS,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -271,9 +269,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PORT,
|
g_object_class_install_property (gobject_class, PROP_PORT,
|
||||||
g_param_spec_uint ("port",
|
g_param_spec_uint ("port", NULL, NULL,
|
||||||
P_("Port"),
|
|
||||||
P_("The port"),
|
|
||||||
0,
|
0,
|
||||||
65535,
|
65535,
|
||||||
0,
|
0,
|
||||||
@ -289,9 +285,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FLOWINFO,
|
g_object_class_install_property (gobject_class, PROP_FLOWINFO,
|
||||||
g_param_spec_uint ("flowinfo",
|
g_param_spec_uint ("flowinfo", NULL, NULL,
|
||||||
P_("Flow info"),
|
|
||||||
P_("IPv6 flow info"),
|
|
||||||
0,
|
0,
|
||||||
G_MAXUINT32,
|
G_MAXUINT32,
|
||||||
0,
|
0,
|
||||||
@ -307,9 +301,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SCOPE_ID,
|
g_object_class_install_property (gobject_class, PROP_SCOPE_ID,
|
||||||
g_param_spec_uint ("scope-id",
|
g_param_spec_uint ("scope-id", NULL, NULL,
|
||||||
P_("Scope ID"),
|
|
||||||
P_("IPv6 scope ID"),
|
|
||||||
0,
|
0,
|
||||||
G_MAXUINT32,
|
G_MAXUINT32,
|
||||||
0,
|
0,
|
||||||
|
@ -179,9 +179,7 @@ g_io_stream_class_init (GIOStreamClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CLOSED,
|
g_object_class_install_property (gobject_class, PROP_CLOSED,
|
||||||
g_param_spec_boolean ("closed",
|
g_param_spec_boolean ("closed", NULL, NULL,
|
||||||
P_("Closed"),
|
|
||||||
P_("Is the stream closed"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -193,9 +191,7 @@ g_io_stream_class_init (GIOStreamClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_INPUT_STREAM,
|
g_object_class_install_property (gobject_class, PROP_INPUT_STREAM,
|
||||||
g_param_spec_object ("input-stream",
|
g_param_spec_object ("input-stream", NULL, NULL,
|
||||||
P_("Input stream"),
|
|
||||||
P_("The GInputStream to read from"),
|
|
||||||
G_TYPE_INPUT_STREAM,
|
G_TYPE_INPUT_STREAM,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -207,9 +203,7 @@ g_io_stream_class_init (GIOStreamClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_OUTPUT_STREAM,
|
g_object_class_install_property (gobject_class, PROP_OUTPUT_STREAM,
|
||||||
g_param_spec_object ("output-stream",
|
g_param_spec_object ("output-stream", NULL, NULL,
|
||||||
P_("Output stream"),
|
|
||||||
P_("The GOutputStream to write to"),
|
|
||||||
G_TYPE_OUTPUT_STREAM,
|
G_TYPE_OUTPUT_STREAM,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -898,9 +898,7 @@ g_keyfile_settings_backend_class_init (GKeyfileSettingsBackendClass *class)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_FILENAME,
|
PROP_FILENAME,
|
||||||
g_param_spec_string ("filename",
|
g_param_spec_string ("filename", NULL, NULL,
|
||||||
P_("Filename"),
|
|
||||||
P_("The filename"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -916,9 +914,7 @@ g_keyfile_settings_backend_class_init (GKeyfileSettingsBackendClass *class)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_ROOT_PATH,
|
PROP_ROOT_PATH,
|
||||||
g_param_spec_string ("root-path",
|
g_param_spec_string ("root-path", NULL, NULL,
|
||||||
P_("Root path"),
|
|
||||||
P_("The root path"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -933,9 +929,7 @@ g_keyfile_settings_backend_class_init (GKeyfileSettingsBackendClass *class)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_ROOT_GROUP,
|
PROP_ROOT_GROUP,
|
||||||
g_param_spec_string ("root-group",
|
g_param_spec_string ("root-group", NULL, NULL,
|
||||||
P_("Root group"),
|
|
||||||
P_("The root group"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -949,9 +943,7 @@ g_keyfile_settings_backend_class_init (GKeyfileSettingsBackendClass *class)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_DEFAULTS_DIR,
|
PROP_DEFAULTS_DIR,
|
||||||
g_param_spec_string ("defaults-dir",
|
g_param_spec_string ("defaults-dir", NULL, NULL,
|
||||||
P_("Default dir"),
|
|
||||||
P_("Defaults dir"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -91,10 +91,10 @@ G_DEFINE_INTERFACE (GListModel, g_list_model, G_TYPE_OBJECT)
|
|||||||
*
|
*
|
||||||
* ```c
|
* ```c
|
||||||
* properties[PROP_ITEM_TYPE] =
|
* properties[PROP_ITEM_TYPE] =
|
||||||
* g_param_spec_gtype ("item-type", "", "", G_TYPE_OBJECT,
|
* g_param_spec_gtype ("item-type", NULL, NULL, G_TYPE_OBJECT,
|
||||||
* G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
* G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
* properties[PROP_N_ITEMS] =
|
* properties[PROP_N_ITEMS] =
|
||||||
* g_param_spec_uint ("n-items", "", "", 0, G_MAXUINT, 0,
|
* g_param_spec_uint ("n-items", NULL, NULL, 0, G_MAXUINT, 0,
|
||||||
* G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
* G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
@ -155,7 +155,7 @@ g_list_store_class_init (GListStoreClass *klass)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
**/
|
**/
|
||||||
properties[PROP_ITEM_TYPE] =
|
properties[PROP_ITEM_TYPE] =
|
||||||
g_param_spec_gtype ("item-type", "", "", G_TYPE_OBJECT,
|
g_param_spec_gtype ("item-type", NULL, NULL, G_TYPE_OBJECT,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -166,7 +166,7 @@ g_list_store_class_init (GListStoreClass *klass)
|
|||||||
* Since: 2.74
|
* Since: 2.74
|
||||||
**/
|
**/
|
||||||
properties[PROP_N_ITEMS] =
|
properties[PROP_N_ITEMS] =
|
||||||
g_param_spec_uint ("n-items", "", "", 0, G_MAXUINT, 0,
|
g_param_spec_uint ("n-items", NULL, NULL, 0, G_MAXUINT, 0,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, N_PROPERTIES, properties);
|
g_object_class_install_properties (object_class, N_PROPERTIES, properties);
|
||||||
|
@ -151,9 +151,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
|
|||||||
**/
|
**/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DATA,
|
PROP_DATA,
|
||||||
g_param_spec_pointer ("data",
|
g_param_spec_pointer ("data", NULL, NULL,
|
||||||
P_("Data Buffer"),
|
|
||||||
P_("Pointer to buffer where data will be written."),
|
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -166,9 +164,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
|
|||||||
**/
|
**/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_SIZE,
|
PROP_SIZE,
|
||||||
g_param_spec_ulong ("size",
|
g_param_spec_ulong ("size", NULL, NULL,
|
||||||
P_("Data Buffer Size"),
|
|
||||||
P_("Current size of the data buffer."),
|
|
||||||
0, G_MAXULONG, 0,
|
0, G_MAXULONG, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -182,9 +178,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
|
|||||||
**/
|
**/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DATA_SIZE,
|
PROP_DATA_SIZE,
|
||||||
g_param_spec_ulong ("data-size",
|
g_param_spec_ulong ("data-size", NULL, NULL,
|
||||||
P_("Data Size"),
|
|
||||||
P_("Size of data written to the buffer."),
|
|
||||||
0, G_MAXULONG, 0,
|
0, G_MAXULONG, 0,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -198,9 +192,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
|
|||||||
**/
|
**/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_REALLOC_FUNCTION,
|
PROP_REALLOC_FUNCTION,
|
||||||
g_param_spec_pointer ("realloc-function",
|
g_param_spec_pointer ("realloc-function", NULL, NULL,
|
||||||
P_("Memory Reallocation Function"),
|
|
||||||
P_("Function with realloc semantics called to enlarge the buffer."),
|
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -213,9 +205,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
|
|||||||
**/
|
**/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DESTROY_FUNCTION,
|
PROP_DESTROY_FUNCTION,
|
||||||
g_param_spec_pointer ("destroy-function",
|
g_param_spec_pointer ("destroy-function", NULL, NULL,
|
||||||
P_("Destroy Notification Function"),
|
|
||||||
P_("Function called with the buffer as argument when the stream is destroyed."),
|
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -478,9 +478,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_USERNAME,
|
PROP_USERNAME,
|
||||||
g_param_spec_string ("username",
|
g_param_spec_string ("username", NULL, NULL,
|
||||||
P_("Username"),
|
|
||||||
P_("The user name"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -493,9 +491,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_PASSWORD,
|
PROP_PASSWORD,
|
||||||
g_param_spec_string ("password",
|
g_param_spec_string ("password", NULL, NULL,
|
||||||
P_("Password"),
|
|
||||||
P_("The password"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -507,9 +503,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_ANONYMOUS,
|
PROP_ANONYMOUS,
|
||||||
g_param_spec_boolean ("anonymous",
|
g_param_spec_boolean ("anonymous", NULL, NULL,
|
||||||
P_("Anonymous"),
|
|
||||||
P_("Whether to use an anonymous user"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -521,9 +515,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_DOMAIN,
|
PROP_DOMAIN,
|
||||||
g_param_spec_string ("domain",
|
g_param_spec_string ("domain", NULL, NULL,
|
||||||
P_("Domain"),
|
|
||||||
P_("The domain of the mount operation"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -535,9 +527,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_PASSWORD_SAVE,
|
PROP_PASSWORD_SAVE,
|
||||||
g_param_spec_enum ("password-save",
|
g_param_spec_enum ("password-save", NULL, NULL,
|
||||||
P_("Password save"),
|
|
||||||
P_("How passwords should be saved"),
|
|
||||||
G_TYPE_PASSWORD_SAVE,
|
G_TYPE_PASSWORD_SAVE,
|
||||||
G_PASSWORD_SAVE_NEVER,
|
G_PASSWORD_SAVE_NEVER,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
@ -551,9 +541,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CHOICE,
|
PROP_CHOICE,
|
||||||
g_param_spec_int ("choice",
|
g_param_spec_int ("choice", NULL, NULL,
|
||||||
P_("Choice"),
|
|
||||||
P_("The users choice"),
|
|
||||||
0, G_MAXINT, 0,
|
0, G_MAXINT, 0,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -568,9 +556,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_IS_TCRYPT_HIDDEN_VOLUME,
|
PROP_IS_TCRYPT_HIDDEN_VOLUME,
|
||||||
g_param_spec_boolean ("is-tcrypt-hidden-volume",
|
g_param_spec_boolean ("is-tcrypt-hidden-volume", NULL, NULL,
|
||||||
P_("TCRYPT Hidden Volume"),
|
|
||||||
P_("Whether to unlock a TCRYPT hidden volume. See https://www.veracrypt.fr/en/Hidden%20Volume.html."),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -588,9 +574,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_IS_TCRYPT_SYSTEM_VOLUME,
|
PROP_IS_TCRYPT_SYSTEM_VOLUME,
|
||||||
g_param_spec_boolean ("is-tcrypt-system-volume",
|
g_param_spec_boolean ("is-tcrypt-system-volume", NULL, NULL,
|
||||||
P_("TCRYPT System Volume"),
|
|
||||||
P_("Whether to unlock a TCRYPT system volume. Only supported for unlocking Windows system volumes. See https://www.veracrypt.fr/en/System%20Encryption.html."),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
@ -605,9 +589,7 @@ g_mount_operation_class_init (GMountOperationClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_PIM,
|
PROP_PIM,
|
||||||
g_param_spec_uint ("pim",
|
g_param_spec_uint ("pim", NULL, NULL,
|
||||||
P_("PIM"),
|
|
||||||
P_("The VeraCrypt PIM value"),
|
|
||||||
0, G_MAXUINT, 0,
|
0, G_MAXUINT, 0,
|
||||||
G_PARAM_READWRITE|
|
G_PARAM_READWRITE|
|
||||||
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
|
||||||
|
@ -124,9 +124,7 @@ g_network_address_class_init (GNetworkAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_HOSTNAME,
|
g_object_class_install_property (gobject_class, PROP_HOSTNAME,
|
||||||
g_param_spec_string ("hostname",
|
g_param_spec_string ("hostname", NULL, NULL,
|
||||||
P_("Hostname"),
|
|
||||||
P_("Hostname to resolve"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -140,9 +138,7 @@ g_network_address_class_init (GNetworkAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PORT,
|
g_object_class_install_property (gobject_class, PROP_PORT,
|
||||||
g_param_spec_uint ("port",
|
g_param_spec_uint ("port", NULL, NULL,
|
||||||
P_("Port"),
|
|
||||||
P_("Network port"),
|
|
||||||
0, 65535, 0,
|
0, 65535, 0,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -156,9 +152,7 @@ g_network_address_class_init (GNetworkAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SCHEME,
|
g_object_class_install_property (gobject_class, PROP_SCHEME,
|
||||||
g_param_spec_string ("scheme",
|
g_param_spec_string ("scheme", NULL, NULL,
|
||||||
P_("Scheme"),
|
|
||||||
P_("URI Scheme"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -352,9 +352,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("network-available",
|
g_param_spec_boolean ("network-available", NULL, NULL,
|
||||||
P_("Network available"),
|
|
||||||
P_("Whether the network is available"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -387,9 +385,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
|
|||||||
* Since: 2.46
|
* Since: 2.46
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("network-metered",
|
g_param_spec_boolean ("network-metered", NULL, NULL,
|
||||||
P_("Network metered"),
|
|
||||||
P_("Whether the network is metered"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -404,9 +400,7 @@ g_network_monitor_default_init (GNetworkMonitorInterface *iface)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_enum ("connectivity",
|
g_param_spec_enum ("connectivity", NULL, NULL,
|
||||||
P_("Network connectivity"),
|
|
||||||
P_("Level of network connectivity"),
|
|
||||||
G_TYPE_NETWORK_CONNECTIVITY,
|
G_TYPE_NETWORK_CONNECTIVITY,
|
||||||
G_NETWORK_CONNECTIVITY_FULL,
|
G_NETWORK_CONNECTIVITY_FULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
|
@ -122,9 +122,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SERVICE,
|
g_object_class_install_property (gobject_class, PROP_SERVICE,
|
||||||
g_param_spec_string ("service",
|
g_param_spec_string ("service", NULL, NULL,
|
||||||
P_("Service"),
|
|
||||||
P_("Service name, eg \"ldap\""),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -138,9 +136,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
||||||
g_param_spec_string ("protocol",
|
g_param_spec_string ("protocol", NULL, NULL,
|
||||||
P_("Protocol"),
|
|
||||||
P_("Network protocol, eg \"tcp\""),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -154,9 +150,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DOMAIN,
|
g_object_class_install_property (gobject_class, PROP_DOMAIN,
|
||||||
g_param_spec_string ("domain",
|
g_param_spec_string ("domain", NULL, NULL,
|
||||||
P_("Domain"),
|
|
||||||
P_("Network domain, eg, \"example.com\""),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -170,9 +164,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DOMAIN,
|
g_object_class_install_property (gobject_class, PROP_DOMAIN,
|
||||||
g_param_spec_string ("scheme",
|
g_param_spec_string ("scheme", NULL, NULL,
|
||||||
P_("Scheme"),
|
|
||||||
P_("Network scheme (default is to use service)"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -433,9 +433,7 @@ g_permission_class_init (GPermissionClass *class)
|
|||||||
* @permission represents the permission to perform.
|
* @permission represents the permission to perform.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_ALLOWED,
|
g_object_class_install_property (object_class, PROP_ALLOWED,
|
||||||
g_param_spec_boolean ("allowed",
|
g_param_spec_boolean ("allowed", NULL, NULL,
|
||||||
P_("Is allowed"),
|
|
||||||
P_("If the caller is allowed to perform the action"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
||||||
|
|
||||||
@ -446,9 +444,7 @@ g_permission_class_init (GPermissionClass *class)
|
|||||||
* g_permission_acquire().
|
* g_permission_acquire().
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_CAN_ACQUIRE,
|
g_object_class_install_property (object_class, PROP_CAN_ACQUIRE,
|
||||||
g_param_spec_boolean ("can-acquire",
|
g_param_spec_boolean ("can-acquire", NULL, NULL,
|
||||||
P_("Can acquire"),
|
|
||||||
P_("If calling g_permission_acquire() makes sense"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
||||||
|
|
||||||
@ -459,9 +455,7 @@ g_permission_class_init (GPermissionClass *class)
|
|||||||
* g_permission_release().
|
* g_permission_release().
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_CAN_RELEASE,
|
g_object_class_install_property (object_class, PROP_CAN_RELEASE,
|
||||||
g_param_spec_boolean ("can-release",
|
g_param_spec_boolean ("can-release", NULL, NULL,
|
||||||
P_("Can release"),
|
|
||||||
P_("If calling g_permission_release() makes sense"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
|
||||||
}
|
}
|
||||||
|
@ -124,9 +124,7 @@ g_power_profile_monitor_default_init (GPowerProfileMonitorInterface *iface)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("power-saver-enabled",
|
g_param_spec_boolean ("power-saver-enabled", NULL, NULL,
|
||||||
"power-saver-enabled",
|
|
||||||
"Power Saver Enabled",
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
|
||||||
}
|
}
|
||||||
|
@ -467,9 +467,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_NAME,
|
g_object_class_install_property (object_class, PROP_NAME,
|
||||||
g_param_spec_string ("name",
|
g_param_spec_string ("name", NULL, NULL,
|
||||||
P_("Action Name"),
|
|
||||||
P_("The name used to invoke the action"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -484,9 +482,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_PARAMETER_TYPE,
|
g_object_class_install_property (object_class, PROP_PARAMETER_TYPE,
|
||||||
g_param_spec_boxed ("parameter-type",
|
g_param_spec_boxed ("parameter-type", NULL, NULL,
|
||||||
P_("Parameter Type"),
|
|
||||||
P_("The type of GVariant passed to activate()"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -502,9 +498,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_ENABLED,
|
g_object_class_install_property (object_class, PROP_ENABLED,
|
||||||
g_param_spec_boolean ("enabled",
|
g_param_spec_boolean ("enabled", NULL, NULL,
|
||||||
P_("Enabled"),
|
|
||||||
P_("If the action can be activated"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -518,9 +512,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_STATE_TYPE,
|
g_object_class_install_property (object_class, PROP_STATE_TYPE,
|
||||||
g_param_spec_boxed ("state-type",
|
g_param_spec_boxed ("state-type", NULL, NULL,
|
||||||
P_("State Type"),
|
|
||||||
P_("The type of the state kept by the action"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -533,9 +525,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_STATE,
|
g_object_class_install_property (object_class, PROP_STATE,
|
||||||
g_param_spec_variant ("state",
|
g_param_spec_variant ("state", NULL, NULL,
|
||||||
P_("State"),
|
|
||||||
P_("The state the action is in"),
|
|
||||||
G_VARIANT_TYPE_ANY,
|
G_VARIANT_TYPE_ANY,
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -551,9 +541,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_OBJECT,
|
g_object_class_install_property (object_class, PROP_OBJECT,
|
||||||
g_param_spec_object ("object",
|
g_param_spec_object ("object", NULL, NULL,
|
||||||
P_("Object"),
|
|
||||||
P_("The object with the property to wrap"),
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -570,9 +558,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.38
|
* Since: 2.38
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_PROPERTY_NAME,
|
g_object_class_install_property (object_class, PROP_PROPERTY_NAME,
|
||||||
g_param_spec_string ("property-name",
|
g_param_spec_string ("property-name", NULL, NULL,
|
||||||
P_("Property name"),
|
|
||||||
P_("The name of the property to wrap"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -587,9 +573,7 @@ g_property_action_class_init (GPropertyActionClass *class)
|
|||||||
* Since: 2.46
|
* Since: 2.46
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_INVERT_BOOLEAN,
|
g_object_class_install_property (object_class, PROP_INVERT_BOOLEAN,
|
||||||
g_param_spec_boolean ("invert-boolean",
|
g_param_spec_boolean ("invert-boolean", NULL, NULL,
|
||||||
P_("Invert boolean"),
|
|
||||||
P_("Whether to invert the value of a boolean property"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -195,9 +195,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_PROTOCOL,
|
PROP_PROTOCOL,
|
||||||
g_param_spec_string ("protocol",
|
g_param_spec_string ("protocol", NULL, NULL,
|
||||||
P_("Protocol"),
|
|
||||||
P_("The proxy protocol"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -212,9 +210,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_USERNAME,
|
PROP_USERNAME,
|
||||||
g_param_spec_string ("username",
|
g_param_spec_string ("username", NULL, NULL,
|
||||||
P_("Username"),
|
|
||||||
P_("The proxy username"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -229,9 +225,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_PASSWORD,
|
PROP_PASSWORD,
|
||||||
g_param_spec_string ("password",
|
g_param_spec_string ("password", NULL, NULL,
|
||||||
P_("Password"),
|
|
||||||
P_("The proxy password"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -247,9 +241,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DESTINATION_PROTOCOL,
|
PROP_DESTINATION_PROTOCOL,
|
||||||
g_param_spec_string ("destination-protocol",
|
g_param_spec_string ("destination-protocol", NULL, NULL,
|
||||||
P_("Destination Protocol"),
|
|
||||||
P_("The proxy destination protocol"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -264,9 +256,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DESTINATION_HOSTNAME,
|
PROP_DESTINATION_HOSTNAME,
|
||||||
g_param_spec_string ("destination-hostname",
|
g_param_spec_string ("destination-hostname", NULL, NULL,
|
||||||
P_("Destination Hostname"),
|
|
||||||
P_("The proxy destination hostname"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -281,9 +271,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_DESTINATION_PORT,
|
PROP_DESTINATION_PORT,
|
||||||
g_param_spec_uint ("destination-port",
|
g_param_spec_uint ("destination-port", NULL, NULL,
|
||||||
P_("Destination Port"),
|
|
||||||
P_("The proxy destination port"),
|
|
||||||
0, 65535, 0,
|
0, 65535, 0,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -299,9 +287,7 @@ g_proxy_address_class_init (GProxyAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_URI,
|
PROP_URI,
|
||||||
g_param_spec_string ("uri",
|
g_param_spec_string ("uri", NULL, NULL,
|
||||||
P_("URI"),
|
|
||||||
P_("The proxy’s URI"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -757,9 +757,7 @@ g_proxy_address_enumerator_class_init (GProxyAddressEnumeratorClass *proxy_enume
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_URI,
|
PROP_URI,
|
||||||
g_param_spec_string ("uri",
|
g_param_spec_string ("uri", NULL, NULL,
|
||||||
P_("URI"),
|
|
||||||
P_("The destination URI, use none:// for generic socket"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -775,9 +773,7 @@ g_proxy_address_enumerator_class_init (GProxyAddressEnumeratorClass *proxy_enume
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_DEFAULT_PORT,
|
PROP_DEFAULT_PORT,
|
||||||
g_param_spec_uint ("default-port",
|
g_param_spec_uint ("default-port", NULL, NULL,
|
||||||
P_("Default port"),
|
|
||||||
P_("The default port to use if uri does not specify one"),
|
|
||||||
0, 65535, 0,
|
0, 65535, 0,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -790,9 +786,7 @@ g_proxy_address_enumerator_class_init (GProxyAddressEnumeratorClass *proxy_enume
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_CONNECTABLE,
|
PROP_CONNECTABLE,
|
||||||
g_param_spec_object ("connectable",
|
g_param_spec_object ("connectable", NULL, NULL,
|
||||||
P_("Connectable"),
|
|
||||||
P_("The connectable being enumerated."),
|
|
||||||
G_TYPE_SOCKET_CONNECTABLE,
|
G_TYPE_SOCKET_CONNECTABLE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -807,9 +801,7 @@ g_proxy_address_enumerator_class_init (GProxyAddressEnumeratorClass *proxy_enume
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_PROXY_RESOLVER,
|
PROP_PROXY_RESOLVER,
|
||||||
g_param_spec_object ("proxy-resolver",
|
g_param_spec_object ("proxy-resolver", NULL, NULL,
|
||||||
P_("Proxy resolver"),
|
|
||||||
P_("The proxy resolver to use."),
|
|
||||||
G_TYPE_PROXY_RESOLVER,
|
G_TYPE_PROXY_RESOLVER,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
|
@ -236,9 +236,7 @@ g_resolver_class_init (GResolverClass *resolver_class)
|
|||||||
* Since: 2.78
|
* Since: 2.78
|
||||||
*/
|
*/
|
||||||
props[PROP_TIMEOUT] =
|
props[PROP_TIMEOUT] =
|
||||||
g_param_spec_uint ("timeout",
|
g_param_spec_uint ("timeout", NULL, NULL,
|
||||||
P_("Timeout"),
|
|
||||||
P_("Timeout (ms) applied to all resolver lookups"),
|
|
||||||
0, G_MAXUINT, 0,
|
0, G_MAXUINT, 0,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
|
@ -841,9 +841,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* The name of the context that the settings are stored in.
|
* The name of the context that the settings are stored in.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_BACKEND,
|
g_object_class_install_property (object_class, PROP_BACKEND,
|
||||||
g_param_spec_object ("backend",
|
g_param_spec_object ("backend", NULL, NULL,
|
||||||
P_("GSettingsBackend"),
|
|
||||||
P_("The GSettingsBackend for this settings object"),
|
|
||||||
G_TYPE_SETTINGS_BACKEND, G_PARAM_CONSTRUCT_ONLY |
|
G_TYPE_SETTINGS_BACKEND, G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -859,9 +857,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* than the schema itself. Take care.
|
* than the schema itself. Take care.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_SCHEMA,
|
g_object_class_install_property (object_class, PROP_SCHEMA,
|
||||||
g_param_spec_boxed ("settings-schema",
|
g_param_spec_boxed ("settings-schema", NULL, NULL,
|
||||||
P_("schema"),
|
|
||||||
P_("The GSettingsSchema for this settings object"),
|
|
||||||
G_TYPE_SETTINGS_SCHEMA,
|
G_TYPE_SETTINGS_SCHEMA,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
@ -883,9 +879,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* version, this property may instead refer to a #GSettingsSchema.
|
* version, this property may instead refer to a #GSettingsSchema.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_SCHEMA_ID,
|
g_object_class_install_property (object_class, PROP_SCHEMA_ID,
|
||||||
g_param_spec_string ("schema",
|
g_param_spec_string ("schema", NULL, NULL,
|
||||||
P_("Schema name"),
|
|
||||||
P_("The name of the schema for this settings object"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_DEPRECATED | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_DEPRECATED | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
@ -897,9 +891,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* for this #GSettings object.
|
* for this #GSettings object.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_SCHEMA_ID,
|
g_object_class_install_property (object_class, PROP_SCHEMA_ID,
|
||||||
g_param_spec_string ("schema-id",
|
g_param_spec_string ("schema-id", NULL, NULL,
|
||||||
P_("Schema name"),
|
|
||||||
P_("The name of the schema for this settings object"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
@ -910,9 +902,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* The path within the backend where the settings are stored.
|
* The path within the backend where the settings are stored.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_PATH,
|
g_object_class_install_property (object_class, PROP_PATH,
|
||||||
g_param_spec_string ("path",
|
g_param_spec_string ("path", NULL, NULL,
|
||||||
P_("Base path"),
|
|
||||||
P_("The path within the backend where the settings are"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
@ -924,9 +914,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* changes that will be applied when g_settings_apply() is called.
|
* changes that will be applied when g_settings_apply() is called.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_HAS_UNAPPLIED,
|
g_object_class_install_property (object_class, PROP_HAS_UNAPPLIED,
|
||||||
g_param_spec_boolean ("has-unapplied",
|
g_param_spec_boolean ("has-unapplied", NULL, NULL,
|
||||||
P_("Has unapplied changes"),
|
|
||||||
P_("TRUE if there are outstanding changes to apply()"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -939,9 +927,7 @@ g_settings_class_init (GSettingsClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_DELAY_APPLY,
|
g_object_class_install_property (object_class, PROP_DELAY_APPLY,
|
||||||
g_param_spec_boolean ("delay-apply",
|
g_param_spec_boolean ("delay-apply", NULL, NULL,
|
||||||
P_("Delay-apply mode"),
|
|
||||||
P_("Whether this settings object is in “delay-apply” mode"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -450,9 +450,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_NAME,
|
g_object_class_install_property (object_class, PROP_NAME,
|
||||||
g_param_spec_string ("name",
|
g_param_spec_string ("name", NULL, NULL,
|
||||||
P_("Action Name"),
|
|
||||||
P_("The name used to invoke the action"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -467,9 +465,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_PARAMETER_TYPE,
|
g_object_class_install_property (object_class, PROP_PARAMETER_TYPE,
|
||||||
g_param_spec_boxed ("parameter-type",
|
g_param_spec_boxed ("parameter-type", NULL, NULL,
|
||||||
P_("Parameter Type"),
|
|
||||||
P_("The type of GVariant passed to activate()"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -486,9 +482,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_ENABLED,
|
g_object_class_install_property (object_class, PROP_ENABLED,
|
||||||
g_param_spec_boolean ("enabled",
|
g_param_spec_boolean ("enabled", NULL, NULL,
|
||||||
P_("Enabled"),
|
|
||||||
P_("If the action can be activated"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -502,9 +496,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_STATE_TYPE,
|
g_object_class_install_property (object_class, PROP_STATE_TYPE,
|
||||||
g_param_spec_boxed ("state-type",
|
g_param_spec_boxed ("state-type", NULL, NULL,
|
||||||
P_("State Type"),
|
|
||||||
P_("The type of the state kept by the action"),
|
|
||||||
G_TYPE_VARIANT_TYPE,
|
G_TYPE_VARIANT_TYPE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -517,9 +509,7 @@ g_simple_action_class_init (GSimpleActionClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
**/
|
**/
|
||||||
g_object_class_install_property (object_class, PROP_STATE,
|
g_object_class_install_property (object_class, PROP_STATE,
|
||||||
g_param_spec_variant ("state",
|
g_param_spec_variant ("state", NULL, NULL,
|
||||||
P_("State"),
|
|
||||||
P_("The state the action is in"),
|
|
||||||
G_VARIANT_TYPE_ANY,
|
G_VARIANT_TYPE_ANY,
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||||
|
@ -164,9 +164,7 @@ g_simple_io_stream_class_init (GSimpleIOStreamClass *class)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_INPUT_STREAM,
|
g_object_class_install_property (gobject_class, PROP_INPUT_STREAM,
|
||||||
g_param_spec_object ("input-stream",
|
g_param_spec_object ("input-stream", NULL, NULL,
|
||||||
P_("Input stream"),
|
|
||||||
P_("The GInputStream to read from"),
|
|
||||||
G_TYPE_INPUT_STREAM,
|
G_TYPE_INPUT_STREAM,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS |
|
G_PARAM_STATIC_STRINGS |
|
||||||
@ -180,9 +178,7 @@ g_simple_io_stream_class_init (GSimpleIOStreamClass *class)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_OUTPUT_STREAM,
|
g_object_class_install_property (gobject_class, PROP_OUTPUT_STREAM,
|
||||||
g_param_spec_object ("output-stream",
|
g_param_spec_object ("output-stream", NULL, NULL,
|
||||||
P_("Output stream"),
|
|
||||||
P_("The GOutputStream to write to"),
|
|
||||||
G_TYPE_OUTPUT_STREAM,
|
G_TYPE_OUTPUT_STREAM,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS |
|
G_PARAM_STATIC_STRINGS |
|
||||||
|
@ -425,9 +425,7 @@ g_simple_proxy_resolver_class_init (GSimpleProxyResolverClass *resolver_class)
|
|||||||
* to all three of the socks5, socks4a, and socks4 proxy types.
|
* to all three of the socks5, socks4a, and socks4 proxy types.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_DEFAULT_PROXY,
|
g_object_class_install_property (object_class, PROP_DEFAULT_PROXY,
|
||||||
g_param_spec_string ("default-proxy",
|
g_param_spec_string ("default-proxy", NULL, NULL,
|
||||||
P_("Default proxy"),
|
|
||||||
P_("The default proxy URI"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -471,9 +469,7 @@ g_simple_proxy_resolver_class_init (GSimpleProxyResolverClass *resolver_class)
|
|||||||
* commonly used by other applications.
|
* commonly used by other applications.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_IGNORE_HOSTS,
|
g_object_class_install_property (object_class, PROP_IGNORE_HOSTS,
|
||||||
g_param_spec_boxed ("ignore-hosts",
|
g_param_spec_boxed ("ignore-hosts", NULL, NULL,
|
||||||
P_("Ignore hosts"),
|
|
||||||
P_("Hosts that will not use the proxy"),
|
|
||||||
G_TYPE_STRV,
|
G_TYPE_STRV,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -960,9 +960,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||||
g_param_spec_enum ("family",
|
g_param_spec_enum ("family", NULL, NULL,
|
||||||
P_("Socket family"),
|
|
||||||
P_("The sockets address family"),
|
|
||||||
G_TYPE_SOCKET_FAMILY,
|
G_TYPE_SOCKET_FAMILY,
|
||||||
G_SOCKET_FAMILY_INVALID,
|
G_SOCKET_FAMILY_INVALID,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -977,9 +975,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TYPE,
|
g_object_class_install_property (gobject_class, PROP_TYPE,
|
||||||
g_param_spec_enum ("type",
|
g_param_spec_enum ("type", NULL, NULL,
|
||||||
P_("Socket type"),
|
|
||||||
P_("The sockets type"),
|
|
||||||
G_TYPE_SOCKET_TYPE,
|
G_TYPE_SOCKET_TYPE,
|
||||||
G_SOCKET_TYPE_STREAM,
|
G_SOCKET_TYPE_STREAM,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -994,9 +990,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
||||||
g_param_spec_enum ("protocol",
|
g_param_spec_enum ("protocol", NULL, NULL,
|
||||||
P_("Socket protocol"),
|
|
||||||
P_("The id of the protocol to use, or -1 for unknown"),
|
|
||||||
G_TYPE_SOCKET_PROTOCOL,
|
G_TYPE_SOCKET_PROTOCOL,
|
||||||
G_SOCKET_PROTOCOL_UNKNOWN,
|
G_SOCKET_PROTOCOL_UNKNOWN,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -1011,9 +1005,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FD,
|
g_object_class_install_property (gobject_class, PROP_FD,
|
||||||
g_param_spec_int ("fd",
|
g_param_spec_int ("fd", NULL, NULL,
|
||||||
P_("File descriptor"),
|
|
||||||
P_("The sockets file descriptor"),
|
|
||||||
G_MININT,
|
G_MININT,
|
||||||
G_MAXINT,
|
G_MAXINT,
|
||||||
-1,
|
-1,
|
||||||
@ -1029,9 +1021,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_BLOCKING,
|
g_object_class_install_property (gobject_class, PROP_BLOCKING,
|
||||||
g_param_spec_boolean ("blocking",
|
g_param_spec_boolean ("blocking", NULL, NULL,
|
||||||
P_("blocking"),
|
|
||||||
P_("Whether or not I/O on this socket is blocking"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1044,9 +1034,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_LISTEN_BACKLOG,
|
g_object_class_install_property (gobject_class, PROP_LISTEN_BACKLOG,
|
||||||
g_param_spec_int ("listen-backlog",
|
g_param_spec_int ("listen-backlog", NULL, NULL,
|
||||||
P_("Listen backlog"),
|
|
||||||
P_("Outstanding connections in the listen queue"),
|
|
||||||
0,
|
0,
|
||||||
SOMAXCONN,
|
SOMAXCONN,
|
||||||
10,
|
10,
|
||||||
@ -1061,9 +1049,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_KEEPALIVE,
|
g_object_class_install_property (gobject_class, PROP_KEEPALIVE,
|
||||||
g_param_spec_boolean ("keepalive",
|
g_param_spec_boolean ("keepalive", NULL, NULL,
|
||||||
P_("Keep connection alive"),
|
|
||||||
P_("Keep connection alive by sending periodic pings"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1076,9 +1062,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_LOCAL_ADDRESS,
|
g_object_class_install_property (gobject_class, PROP_LOCAL_ADDRESS,
|
||||||
g_param_spec_object ("local-address",
|
g_param_spec_object ("local-address", NULL, NULL,
|
||||||
P_("Local address"),
|
|
||||||
P_("The local address the socket is bound to"),
|
|
||||||
G_TYPE_SOCKET_ADDRESS,
|
G_TYPE_SOCKET_ADDRESS,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1091,9 +1075,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_REMOTE_ADDRESS,
|
g_object_class_install_property (gobject_class, PROP_REMOTE_ADDRESS,
|
||||||
g_param_spec_object ("remote-address",
|
g_param_spec_object ("remote-address", NULL, NULL,
|
||||||
P_("Remote address"),
|
|
||||||
P_("The remote address the socket is connected to"),
|
|
||||||
G_TYPE_SOCKET_ADDRESS,
|
G_TYPE_SOCKET_ADDRESS,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1106,9 +1088,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
|
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
|
||||||
g_param_spec_uint ("timeout",
|
g_param_spec_uint ("timeout", NULL, NULL,
|
||||||
P_("Timeout"),
|
|
||||||
P_("The timeout in seconds on socket I/O"),
|
|
||||||
0,
|
0,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
0,
|
0,
|
||||||
@ -1123,9 +1103,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_BROADCAST,
|
g_object_class_install_property (gobject_class, PROP_BROADCAST,
|
||||||
g_param_spec_boolean ("broadcast",
|
g_param_spec_boolean ("broadcast", NULL, NULL,
|
||||||
P_("Broadcast"),
|
|
||||||
P_("Whether to allow sending to broadcast addresses"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1138,9 +1116,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TTL,
|
g_object_class_install_property (gobject_class, PROP_TTL,
|
||||||
g_param_spec_uint ("ttl",
|
g_param_spec_uint ("ttl", NULL, NULL,
|
||||||
P_("TTL"),
|
|
||||||
P_("Time-to-live of outgoing unicast packets"),
|
|
||||||
0, G_MAXUINT, 0,
|
0, G_MAXUINT, 0,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1153,9 +1129,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_MULTICAST_LOOPBACK,
|
g_object_class_install_property (gobject_class, PROP_MULTICAST_LOOPBACK,
|
||||||
g_param_spec_boolean ("multicast-loopback",
|
g_param_spec_boolean ("multicast-loopback", NULL, NULL,
|
||||||
P_("Multicast loopback"),
|
|
||||||
P_("Whether outgoing multicast packets loop back to the local host"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -1168,9 +1142,7 @@ g_socket_class_init (GSocketClass *klass)
|
|||||||
* Since: 2.32
|
* Since: 2.32
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_MULTICAST_TTL,
|
g_object_class_install_property (gobject_class, PROP_MULTICAST_TTL,
|
||||||
g_param_spec_uint ("multicast-ttl",
|
g_param_spec_uint ("multicast-ttl", NULL, NULL,
|
||||||
P_("Multicast TTL"),
|
|
||||||
P_("Time-to-live of outgoing multicast packets"),
|
|
||||||
0, G_MAXUINT, 1,
|
0, G_MAXUINT, 1,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -117,9 +117,7 @@ g_socket_address_class_init (GSocketAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||||
g_param_spec_enum ("family",
|
g_param_spec_enum ("family", NULL, NULL,
|
||||||
P_("Address family"),
|
|
||||||
P_("The family of the socket address"),
|
|
||||||
G_TYPE_SOCKET_FAMILY,
|
G_TYPE_SOCKET_FAMILY,
|
||||||
G_SOCKET_FAMILY_INVALID,
|
G_SOCKET_FAMILY_INVALID,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
|
@ -874,9 +874,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
g_object_class_install_property (gobject_class, PROP_FAMILY,
|
||||||
g_param_spec_enum ("family",
|
g_param_spec_enum ("family", NULL, NULL,
|
||||||
P_("Socket family"),
|
|
||||||
P_("The sockets address family to use for socket construction"),
|
|
||||||
G_TYPE_SOCKET_FAMILY,
|
G_TYPE_SOCKET_FAMILY,
|
||||||
G_SOCKET_FAMILY_INVALID,
|
G_SOCKET_FAMILY_INVALID,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -891,9 +889,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TYPE,
|
g_object_class_install_property (gobject_class, PROP_TYPE,
|
||||||
g_param_spec_enum ("type",
|
g_param_spec_enum ("type", NULL, NULL,
|
||||||
P_("Socket type"),
|
|
||||||
P_("The sockets type to use for socket construction"),
|
|
||||||
G_TYPE_SOCKET_TYPE,
|
G_TYPE_SOCKET_TYPE,
|
||||||
G_SOCKET_TYPE_STREAM,
|
G_SOCKET_TYPE_STREAM,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -908,9 +904,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
|
||||||
g_param_spec_enum ("protocol",
|
g_param_spec_enum ("protocol", NULL, NULL,
|
||||||
P_("Socket protocol"),
|
|
||||||
P_("The protocol to use for socket construction, or 0 for default"),
|
|
||||||
G_TYPE_SOCKET_PROTOCOL,
|
G_TYPE_SOCKET_PROTOCOL,
|
||||||
G_SOCKET_PROTOCOL_DEFAULT,
|
G_SOCKET_PROTOCOL_DEFAULT,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -925,9 +919,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_LOCAL_ADDRESS,
|
g_object_class_install_property (gobject_class, PROP_LOCAL_ADDRESS,
|
||||||
g_param_spec_object ("local-address",
|
g_param_spec_object ("local-address", NULL, NULL,
|
||||||
P_("Local address"),
|
|
||||||
P_("The local address constructed sockets will be bound to"),
|
|
||||||
G_TYPE_SOCKET_ADDRESS,
|
G_TYPE_SOCKET_ADDRESS,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -941,9 +933,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
|
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
|
||||||
g_param_spec_uint ("timeout",
|
g_param_spec_uint ("timeout", NULL, NULL,
|
||||||
P_("Socket timeout"),
|
|
||||||
P_("The I/O timeout for sockets, or 0 for none"),
|
|
||||||
0, G_MAXUINT, 0,
|
0, G_MAXUINT, 0,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -957,9 +947,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ENABLE_PROXY,
|
g_object_class_install_property (gobject_class, PROP_ENABLE_PROXY,
|
||||||
g_param_spec_boolean ("enable-proxy",
|
g_param_spec_boolean ("enable-proxy", NULL, NULL,
|
||||||
P_("Enable proxy"),
|
|
||||||
P_("Enable proxy support"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -973,9 +961,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TLS,
|
g_object_class_install_property (gobject_class, PROP_TLS,
|
||||||
g_param_spec_boolean ("tls",
|
g_param_spec_boolean ("tls", NULL, NULL,
|
||||||
P_("TLS"),
|
|
||||||
P_("Whether to create TLS connections"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -1004,9 +990,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Deprecated: 2.72: Do not attempt to ignore validation errors.
|
* Deprecated: 2.72: Do not attempt to ignore validation errors.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TLS_VALIDATION_FLAGS,
|
g_object_class_install_property (gobject_class, PROP_TLS_VALIDATION_FLAGS,
|
||||||
g_param_spec_flags ("tls-validation-flags",
|
g_param_spec_flags ("tls-validation-flags", NULL, NULL,
|
||||||
P_("TLS validation flags"),
|
|
||||||
P_("TLS validation flags to use"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
||||||
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -1022,9 +1006,7 @@ g_socket_client_class_init (GSocketClientClass *class)
|
|||||||
* Since: 2.36
|
* Since: 2.36
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PROXY_RESOLVER,
|
g_object_class_install_property (gobject_class, PROP_PROXY_RESOLVER,
|
||||||
g_param_spec_object ("proxy-resolver",
|
g_param_spec_object ("proxy-resolver", NULL, NULL,
|
||||||
P_("Proxy resolver"),
|
|
||||||
P_("The proxy resolver to use"),
|
|
||||||
G_TYPE_PROXY_RESOLVER,
|
G_TYPE_PROXY_RESOLVER,
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -454,9 +454,7 @@ g_socket_connection_class_init (GSocketConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_SOCKET,
|
PROP_SOCKET,
|
||||||
g_param_spec_object ("socket",
|
g_param_spec_object ("socket", NULL, NULL,
|
||||||
P_("Socket"),
|
|
||||||
P_("The underlying GSocket"),
|
|
||||||
G_TYPE_SOCKET,
|
G_TYPE_SOCKET,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -191,9 +191,7 @@ g_socket_input_stream_class_init (GSocketInputStreamClass *klass)
|
|||||||
ginputstream_class->read_fn = g_socket_input_stream_read;
|
ginputstream_class->read_fn = g_socket_input_stream_read;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_SOCKET,
|
g_object_class_install_property (gobject_class, PROP_SOCKET,
|
||||||
g_param_spec_object ("socket",
|
g_param_spec_object ("socket", NULL, NULL,
|
||||||
P_("socket"),
|
|
||||||
P_("The socket that this stream wraps"),
|
|
||||||
G_TYPE_SOCKET, G_PARAM_CONSTRUCT_ONLY |
|
G_TYPE_SOCKET, G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -163,9 +163,7 @@ g_socket_listener_class_init (GSocketListenerClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_LISTEN_BACKLOG,
|
g_object_class_install_property (gobject_class, PROP_LISTEN_BACKLOG,
|
||||||
g_param_spec_int ("listen-backlog",
|
g_param_spec_int ("listen-backlog", NULL, NULL,
|
||||||
P_("Listen backlog"),
|
|
||||||
P_("outstanding connections in the listen queue"),
|
|
||||||
0,
|
0,
|
||||||
2000,
|
2000,
|
||||||
10,
|
10,
|
||||||
|
@ -247,9 +247,7 @@ g_socket_output_stream_class_init (GSocketOutputStreamClass *klass)
|
|||||||
goutputstream_class->writev_fn = g_socket_output_stream_writev;
|
goutputstream_class->writev_fn = g_socket_output_stream_writev;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_SOCKET,
|
g_object_class_install_property (gobject_class, PROP_SOCKET,
|
||||||
g_param_spec_object ("socket",
|
g_param_spec_object ("socket", NULL, NULL,
|
||||||
P_("socket"),
|
|
||||||
P_("The socket that this stream wraps"),
|
|
||||||
G_TYPE_SOCKET, G_PARAM_CONSTRUCT_ONLY |
|
G_TYPE_SOCKET, G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -360,9 +360,7 @@ g_socket_service_class_init (GSocketServiceClass *class)
|
|||||||
* Since: 2.46
|
* Since: 2.46
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ACTIVE,
|
g_object_class_install_property (gobject_class, PROP_ACTIVE,
|
||||||
g_param_spec_boolean ("active",
|
g_param_spec_boolean ("active", NULL, NULL,
|
||||||
P_("Active"),
|
|
||||||
P_("Whether the service is currently accepting connections"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -504,7 +504,7 @@ g_subprocess_class_init (GSubprocessClass *class)
|
|||||||
* Since: 2.40
|
* Since: 2.40
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags", P_("Flags"), P_("Subprocess flags"),
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
G_TYPE_SUBPROCESS_FLAGS, 0, G_PARAM_WRITABLE |
|
G_TYPE_SUBPROCESS_FLAGS, 0, G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
@ -516,7 +516,7 @@ g_subprocess_class_init (GSubprocessClass *class)
|
|||||||
* Since: 2.40
|
* Since: 2.40
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ARGV,
|
g_object_class_install_property (gobject_class, PROP_ARGV,
|
||||||
g_param_spec_boxed ("argv", P_("Arguments"), P_("Argument vector"),
|
g_param_spec_boxed ("argv", NULL, NULL,
|
||||||
G_TYPE_STRV, G_PARAM_WRITABLE |
|
G_TYPE_STRV, G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@ g_subprocess_launcher_class_init (GSubprocessLauncherClass *class)
|
|||||||
* Since: 2.40
|
* Since: 2.40
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, 1,
|
g_object_class_install_property (gobject_class, 1,
|
||||||
g_param_spec_flags ("flags", "Flags", "GSubprocessFlags for launched processes",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
G_TYPE_SUBPROCESS_FLAGS, 0, G_PARAM_WRITABLE |
|
G_TYPE_SUBPROCESS_FLAGS, 0, G_PARAM_WRITABLE |
|
||||||
G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY));
|
||||||
}
|
}
|
||||||
|
@ -2439,9 +2439,7 @@ g_task_class_init (GTaskClass *klass)
|
|||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_COMPLETED,
|
g_object_class_install_property (gobject_class, PROP_COMPLETED,
|
||||||
g_param_spec_boolean ("completed",
|
g_param_spec_boolean ("completed", NULL, NULL,
|
||||||
P_("Task completed"),
|
|
||||||
P_("Whether the task has completed yet"),
|
|
||||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
if (G_UNLIKELY (task_pool_max_counter == 0))
|
if (G_UNLIKELY (task_pool_max_counter == 0))
|
||||||
|
@ -136,9 +136,7 @@ g_tcp_connection_class_init (GTcpConnectionClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_GRACEFUL_DISCONNECT,
|
g_object_class_install_property (gobject_class, PROP_GRACEFUL_DISCONNECT,
|
||||||
g_param_spec_boolean ("graceful-disconnect",
|
g_param_spec_boolean ("graceful-disconnect", NULL, NULL,
|
||||||
P_("Graceful Disconnect"),
|
|
||||||
P_("Whether or not close does a graceful disconnect"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
@ -140,9 +140,7 @@ g_tcp_wrapper_connection_class_init (GTcpWrapperConnectionClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_BASE_IO_STREAM,
|
PROP_BASE_IO_STREAM,
|
||||||
g_param_spec_object ("base-io-stream",
|
g_param_spec_object ("base-io-stream", NULL, NULL,
|
||||||
P_("Base IO Stream"),
|
|
||||||
P_("The wrapped GIOStream"),
|
|
||||||
G_TYPE_IO_STREAM,
|
G_TYPE_IO_STREAM,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -533,9 +533,7 @@ g_test_dbus_class_init (GTestDBusClass *klass)
|
|||||||
* Since: 2.34
|
* Since: 2.34
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_FLAGS,
|
g_object_class_install_property (object_class, PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("D-Bus session flags"),
|
|
||||||
P_("Flags specifying the behaviour of the D-Bus session"),
|
|
||||||
G_TYPE_TEST_DBUS_FLAGS, G_TEST_DBUS_NONE,
|
G_TYPE_TEST_DBUS_FLAGS, G_TEST_DBUS_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -179,9 +179,7 @@ g_themed_icon_class_init (GThemedIconClass *klass)
|
|||||||
* The icon name.
|
* The icon name.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_NAME,
|
g_object_class_install_property (gobject_class, PROP_NAME,
|
||||||
g_param_spec_string ("name",
|
g_param_spec_string ("name", NULL, NULL,
|
||||||
P_("name"),
|
|
||||||
P_("The name of the icon"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
||||||
|
|
||||||
@ -191,9 +189,7 @@ g_themed_icon_class_init (GThemedIconClass *klass)
|
|||||||
* A %NULL-terminated array of icon names.
|
* A %NULL-terminated array of icon names.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_NAMES,
|
g_object_class_install_property (gobject_class, PROP_NAMES,
|
||||||
g_param_spec_boxed ("names",
|
g_param_spec_boxed ("names", NULL, NULL,
|
||||||
P_("names"),
|
|
||||||
P_("An array containing the icon names"),
|
|
||||||
G_TYPE_STRV,
|
G_TYPE_STRV,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
||||||
|
|
||||||
@ -217,9 +213,7 @@ g_themed_icon_class_init (GThemedIconClass *klass)
|
|||||||
* ]|
|
* ]|
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_USE_DEFAULT_FALLBACKS,
|
g_object_class_install_property (gobject_class, PROP_USE_DEFAULT_FALLBACKS,
|
||||||
g_param_spec_boolean ("use-default-fallbacks",
|
g_param_spec_boolean ("use-default-fallbacks", NULL, NULL,
|
||||||
P_("use default fallbacks"),
|
|
||||||
P_("Whether to use default fallbacks found by shortening the name at “-” characters. Ignores names after the first if multiple names are given."),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
|
||||||
}
|
}
|
||||||
|
@ -255,9 +255,7 @@ g_threaded_socket_service_class_init (GThreadedSocketServiceClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_MAX_THREADS,
|
g_object_class_install_property (gobject_class, PROP_MAX_THREADS,
|
||||||
g_param_spec_int ("max-threads",
|
g_param_spec_int ("max-threads", NULL, NULL,
|
||||||
P_("Max threads"),
|
|
||||||
P_("The max number of threads handling clients for this service"),
|
|
||||||
-1,
|
-1,
|
||||||
G_MAXINT,
|
G_MAXINT,
|
||||||
10,
|
10,
|
||||||
|
@ -135,9 +135,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PKCS12_DATA,
|
g_object_class_install_property (gobject_class, PROP_PKCS12_DATA,
|
||||||
g_param_spec_boxed ("pkcs12-data",
|
g_param_spec_boxed ("pkcs12-data", NULL, NULL,
|
||||||
P_("PKCS #12 data"),
|
|
||||||
P_("The PKCS #12 data used for construction"),
|
|
||||||
G_TYPE_BYTE_ARRAY,
|
G_TYPE_BYTE_ARRAY,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -151,9 +149,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PASSWORD,
|
g_object_class_install_property (gobject_class, PROP_PASSWORD,
|
||||||
g_param_spec_string ("password",
|
g_param_spec_string ("password", NULL, NULL,
|
||||||
P_("Password"),
|
|
||||||
P_("Password used when constructing from bytes"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -168,9 +164,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CERTIFICATE,
|
g_object_class_install_property (gobject_class, PROP_CERTIFICATE,
|
||||||
g_param_spec_boxed ("certificate",
|
g_param_spec_boxed ("certificate", NULL, NULL,
|
||||||
P_("Certificate"),
|
|
||||||
P_("The DER representation of the certificate"),
|
|
||||||
G_TYPE_BYTE_ARRAY,
|
G_TYPE_BYTE_ARRAY,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -185,9 +179,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CERTIFICATE_PEM,
|
g_object_class_install_property (gobject_class, PROP_CERTIFICATE_PEM,
|
||||||
g_param_spec_string ("certificate-pem",
|
g_param_spec_string ("certificate-pem", NULL, NULL,
|
||||||
P_("Certificate (PEM)"),
|
|
||||||
P_("The PEM representation of the certificate"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -216,9 +208,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY,
|
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY,
|
||||||
g_param_spec_boxed ("private-key",
|
g_param_spec_boxed ("private-key", NULL, NULL,
|
||||||
P_("Private key"),
|
|
||||||
P_("The DER representation of the certificate’s private key"),
|
|
||||||
G_TYPE_BYTE_ARRAY,
|
G_TYPE_BYTE_ARRAY,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -248,9 +238,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PEM,
|
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PEM,
|
||||||
g_param_spec_string ("private-key-pem",
|
g_param_spec_string ("private-key-pem", NULL, NULL,
|
||||||
P_("Private key (PEM)"),
|
|
||||||
P_("The PEM representation of the certificate’s private key"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -278,9 +266,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ISSUER,
|
g_object_class_install_property (gobject_class, PROP_ISSUER,
|
||||||
g_param_spec_object ("issuer",
|
g_param_spec_object ("issuer", NULL, NULL,
|
||||||
P_("Issuer"),
|
|
||||||
P_("The certificate for the issuing entity"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE,
|
G_TYPE_TLS_CERTIFICATE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -298,9 +284,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.68
|
* Since: 2.68
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PKCS11_URI,
|
g_object_class_install_property (gobject_class, PROP_PKCS11_URI,
|
||||||
g_param_spec_string ("pkcs11-uri",
|
g_param_spec_string ("pkcs11-uri", NULL, NULL,
|
||||||
P_("PKCS #11 URI"),
|
|
||||||
P_("The PKCS #11 URI"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -315,9 +299,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.68
|
* Since: 2.68
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PKCS11_URI,
|
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PKCS11_URI,
|
||||||
g_param_spec_string ("private-key-pkcs11-uri",
|
g_param_spec_string ("private-key-pkcs11-uri", NULL, NULL,
|
||||||
P_("PKCS #11 URI"),
|
|
||||||
P_("The PKCS #11 URI for a private key"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -332,9 +314,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_NOT_VALID_BEFORE,
|
g_object_class_install_property (gobject_class, PROP_NOT_VALID_BEFORE,
|
||||||
g_param_spec_boxed ("not-valid-before",
|
g_param_spec_boxed ("not-valid-before", NULL, NULL,
|
||||||
P_("Not Valid Before"),
|
|
||||||
P_("Cert should not be considered valid before this time."),
|
|
||||||
G_TYPE_DATE_TIME,
|
G_TYPE_DATE_TIME,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -348,9 +328,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_NOT_VALID_AFTER,
|
g_object_class_install_property (gobject_class, PROP_NOT_VALID_AFTER,
|
||||||
g_param_spec_boxed ("not-valid-after",
|
g_param_spec_boxed ("not-valid-after", NULL, NULL,
|
||||||
P_("Not Valid after"),
|
|
||||||
P_("Cert should not be considered valid after this time."),
|
|
||||||
G_TYPE_DATE_TIME,
|
G_TYPE_DATE_TIME,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -364,9 +342,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SUBJECT_NAME,
|
g_object_class_install_property (gobject_class, PROP_SUBJECT_NAME,
|
||||||
g_param_spec_string ("subject-name",
|
g_param_spec_string ("subject-name", NULL, NULL,
|
||||||
P_("Subject Name"),
|
|
||||||
P_("The subject name from the certificate."),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -379,9 +355,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ISSUER_NAME,
|
g_object_class_install_property (gobject_class, PROP_ISSUER_NAME,
|
||||||
g_param_spec_string ("issuer-name",
|
g_param_spec_string ("issuer-name", NULL, NULL,
|
||||||
P_("Issuer Name"),
|
|
||||||
P_("The issuer from the certificate."),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -395,9 +369,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DNS_NAMES,
|
g_object_class_install_property (gobject_class, PROP_DNS_NAMES,
|
||||||
g_param_spec_boxed ("dns-names",
|
g_param_spec_boxed ("dns-names", NULL, NULL,
|
||||||
P_("DNS Names"),
|
|
||||||
P_("DNS Names listed on the cert."),
|
|
||||||
G_TYPE_PTR_ARRAY,
|
G_TYPE_PTR_ARRAY,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -411,9 +383,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_IP_ADDRESSES,
|
g_object_class_install_property (gobject_class, PROP_IP_ADDRESSES,
|
||||||
g_param_spec_boxed ("ip-addresses",
|
g_param_spec_boxed ("ip-addresses", NULL, NULL,
|
||||||
P_("IP Addresses"),
|
|
||||||
P_("IP Addresses listed on the cert."),
|
|
||||||
G_TYPE_PTR_ARRAY,
|
G_TYPE_PTR_ARRAY,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -69,9 +69,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
|||||||
* Deprecated: 2.72: Do not attempt to ignore validation errors.
|
* Deprecated: 2.72: Do not attempt to ignore validation errors.
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_flags ("validation-flags",
|
g_param_spec_flags ("validation-flags", NULL, NULL,
|
||||||
P_("Validation flags"),
|
|
||||||
P_("What certificate validation to perform"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
||||||
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
G_TLS_CERTIFICATE_VALIDATE_ALL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -100,9 +98,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_object ("server-identity",
|
g_param_spec_object ("server-identity", NULL, NULL,
|
||||||
P_("Server identity"),
|
|
||||||
P_("GSocketConnectable identifying the server"),
|
|
||||||
G_TYPE_SOCKET_CONNECTABLE,
|
G_TYPE_SOCKET_CONNECTABLE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -119,9 +115,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
|||||||
* Deprecated: 2.56: SSL 3.0 is insecure.
|
* Deprecated: 2.56: SSL 3.0 is insecure.
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_boolean ("use-ssl3",
|
g_param_spec_boolean ("use-ssl3", NULL, NULL,
|
||||||
P_("Use fallback"),
|
|
||||||
P_("Use fallback version of SSL/TLS rather than most recent version"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -142,9 +136,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_pointer ("accepted-cas",
|
g_param_spec_pointer ("accepted-cas", NULL, NULL,
|
||||||
P_("Accepted CAs"),
|
|
||||||
P_("Distinguished names of the CAs the server accepts certificates from"),
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
}
|
}
|
||||||
|
@ -103,9 +103,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_BASE_IO_STREAM,
|
g_object_class_install_property (gobject_class, PROP_BASE_IO_STREAM,
|
||||||
g_param_spec_object ("base-io-stream",
|
g_param_spec_object ("base-io-stream", NULL, NULL,
|
||||||
P_("Base IOStream"),
|
|
||||||
P_("The GIOStream that the connection wraps"),
|
|
||||||
G_TYPE_IO_STREAM,
|
G_TYPE_IO_STREAM,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -120,9 +118,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Deprecated: 2.30: Use GTlsConnection:database instead
|
* Deprecated: 2.30: Use GTlsConnection:database instead
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_USE_SYSTEM_CERTDB,
|
g_object_class_install_property (gobject_class, PROP_USE_SYSTEM_CERTDB,
|
||||||
g_param_spec_boolean ("use-system-certdb",
|
g_param_spec_boolean ("use-system-certdb", NULL, NULL,
|
||||||
P_("Use system certificate database"),
|
|
||||||
P_("Whether to verify peer certificates against the system certificate database"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -151,9 +147,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DATABASE,
|
g_object_class_install_property (gobject_class, PROP_DATABASE,
|
||||||
g_param_spec_object ("database",
|
g_param_spec_object ("database", NULL, NULL,
|
||||||
P_("Database"),
|
|
||||||
P_("Certificate database to use for looking up or verifying certificates"),
|
|
||||||
G_TYPE_TLS_DATABASE,
|
G_TYPE_TLS_DATABASE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -167,9 +161,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_INTERACTION,
|
g_object_class_install_property (gobject_class, PROP_INTERACTION,
|
||||||
g_param_spec_object ("interaction",
|
g_param_spec_object ("interaction", NULL, NULL,
|
||||||
P_("Interaction"),
|
|
||||||
P_("Optional object for user interaction"),
|
|
||||||
G_TYPE_TLS_INTERACTION,
|
G_TYPE_TLS_INTERACTION,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -182,9 +174,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_REQUIRE_CLOSE_NOTIFY,
|
g_object_class_install_property (gobject_class, PROP_REQUIRE_CLOSE_NOTIFY,
|
||||||
g_param_spec_boolean ("require-close-notify",
|
g_param_spec_boolean ("require-close-notify", NULL, NULL,
|
||||||
P_("Require close notify"),
|
|
||||||
P_("Whether to require proper TLS close notification"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
@ -200,9 +190,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Deprecated: 2.60: The rehandshake mode is ignored.
|
* Deprecated: 2.60: The rehandshake mode is ignored.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_REHANDSHAKE_MODE,
|
g_object_class_install_property (gobject_class, PROP_REHANDSHAKE_MODE,
|
||||||
g_param_spec_enum ("rehandshake-mode",
|
g_param_spec_enum ("rehandshake-mode", NULL, NULL,
|
||||||
P_("Rehandshake mode"),
|
|
||||||
P_("When to allow rehandshaking"),
|
|
||||||
G_TYPE_TLS_REHANDSHAKE_MODE,
|
G_TYPE_TLS_REHANDSHAKE_MODE,
|
||||||
G_TLS_REHANDSHAKE_SAFELY,
|
G_TLS_REHANDSHAKE_SAFELY,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -218,9 +206,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CERTIFICATE,
|
g_object_class_install_property (gobject_class, PROP_CERTIFICATE,
|
||||||
g_param_spec_object ("certificate",
|
g_param_spec_object ("certificate", NULL, NULL,
|
||||||
P_("Certificate"),
|
|
||||||
P_("The connection’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE,
|
G_TYPE_TLS_CERTIFICATE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -237,9 +223,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PEER_CERTIFICATE,
|
g_object_class_install_property (gobject_class, PROP_PEER_CERTIFICATE,
|
||||||
g_param_spec_object ("peer-certificate",
|
g_param_spec_object ("peer-certificate", NULL, NULL,
|
||||||
P_("Peer Certificate"),
|
|
||||||
P_("The connection’s peer’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE,
|
G_TYPE_TLS_CERTIFICATE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -264,9 +248,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PEER_CERTIFICATE_ERRORS,
|
g_object_class_install_property (gobject_class, PROP_PEER_CERTIFICATE_ERRORS,
|
||||||
g_param_spec_flags ("peer-certificate-errors",
|
g_param_spec_flags ("peer-certificate-errors", NULL, NULL,
|
||||||
P_("Peer Certificate Errors"),
|
|
||||||
P_("Errors found with the peer’s certificate"),
|
|
||||||
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
G_TYPE_TLS_CERTIFICATE_FLAGS,
|
||||||
0,
|
0,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -281,9 +263,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.60
|
* Since: 2.60
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ADVERTISED_PROTOCOLS,
|
g_object_class_install_property (gobject_class, PROP_ADVERTISED_PROTOCOLS,
|
||||||
g_param_spec_boxed ("advertised-protocols",
|
g_param_spec_boxed ("advertised-protocols", NULL, NULL,
|
||||||
P_("Advertised Protocols"),
|
|
||||||
P_("Application-layer protocols available on this connection"),
|
|
||||||
G_TYPE_STRV,
|
G_TYPE_STRV,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -296,9 +276,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.60
|
* Since: 2.60
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_NEGOTIATED_PROTOCOL,
|
g_object_class_install_property (gobject_class, PROP_NEGOTIATED_PROTOCOL,
|
||||||
g_param_spec_string ("negotiated-protocol",
|
g_param_spec_string ("negotiated-protocol", NULL, NULL,
|
||||||
P_("Negotiated Protocol"),
|
|
||||||
P_("Application-layer protocol negotiated for this connection"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -311,9 +289,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PROTOCOL_VERSION,
|
g_object_class_install_property (gobject_class, PROP_PROTOCOL_VERSION,
|
||||||
g_param_spec_enum ("protocol-version",
|
g_param_spec_enum ("protocol-version", NULL, NULL,
|
||||||
P_("Protocol Version"),
|
|
||||||
P_("TLS protocol version negotiated for this connection"),
|
|
||||||
G_TYPE_TLS_PROTOCOL_VERSION,
|
G_TYPE_TLS_PROTOCOL_VERSION,
|
||||||
G_TLS_PROTOCOL_VERSION_UNKNOWN,
|
G_TLS_PROTOCOL_VERSION_UNKNOWN,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
@ -327,9 +303,7 @@ g_tls_connection_class_init (GTlsConnectionClass *klass)
|
|||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CIPHERSUITE_NAME,
|
g_object_class_install_property (gobject_class, PROP_CIPHERSUITE_NAME,
|
||||||
g_param_spec_string ("ciphersuite-name",
|
g_param_spec_string ("ciphersuite-name", NULL, NULL,
|
||||||
P_("Ciphersuite Name"),
|
|
||||||
P_("Name of ciphersuite negotiated for this connection"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -55,9 +55,7 @@ g_tls_file_database_default_init (GTlsFileDatabaseInterface *iface)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_string ("anchors",
|
g_param_spec_string ("anchors", NULL, NULL,
|
||||||
P_("Anchors"),
|
|
||||||
P_("The certificate authority anchor file"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT |
|
G_PARAM_CONSTRUCT |
|
||||||
|
@ -195,9 +195,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("Flags"),
|
|
||||||
P_("Flags about the password"),
|
|
||||||
G_TYPE_TLS_PASSWORD_FLAGS,
|
G_TYPE_TLS_PASSWORD_FLAGS,
|
||||||
G_TLS_PASSWORD_NONE,
|
G_TLS_PASSWORD_NONE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -211,9 +209,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DESCRIPTION,
|
g_object_class_install_property (gobject_class, PROP_DESCRIPTION,
|
||||||
g_param_spec_string ("description",
|
g_param_spec_string ("description", NULL, NULL,
|
||||||
P_("Description"),
|
|
||||||
P_("Description of what the password is for"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
@ -226,9 +222,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
|
|||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_WARNING,
|
g_object_class_install_property (gobject_class, PROP_WARNING,
|
||||||
g_param_spec_string ("warning",
|
g_param_spec_string ("warning", NULL, NULL,
|
||||||
P_("Warning"),
|
|
||||||
P_("Warning about the password"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -53,9 +53,7 @@ g_tls_server_connection_default_init (GTlsServerConnectionInterface *iface)
|
|||||||
* Since: 2.28
|
* Since: 2.28
|
||||||
*/
|
*/
|
||||||
g_object_interface_install_property (iface,
|
g_object_interface_install_property (iface,
|
||||||
g_param_spec_enum ("authentication-mode",
|
g_param_spec_enum ("authentication-mode", NULL, NULL,
|
||||||
P_("Authentication Mode"),
|
|
||||||
P_("The client authentication mode"),
|
|
||||||
G_TYPE_TLS_AUTHENTICATION_MODE,
|
G_TYPE_TLS_AUTHENTICATION_MODE,
|
||||||
G_TLS_AUTHENTICATION_NONE,
|
G_TLS_AUTHENTICATION_NONE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -264,9 +264,7 @@ g_unix_credentials_message_class_init (GUnixCredentialsMessageClass *class)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CREDENTIALS,
|
PROP_CREDENTIALS,
|
||||||
g_param_spec_object ("credentials",
|
g_param_spec_object ("credentials", NULL, NULL,
|
||||||
P_("Credentials"),
|
|
||||||
P_("The credentials stored in the message"),
|
|
||||||
G_TYPE_CREDENTIALS,
|
G_TYPE_CREDENTIALS,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -221,8 +221,7 @@ g_unix_fd_message_class_init (GUnixFDMessageClass *class)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, 1,
|
g_object_class_install_property (object_class, 1,
|
||||||
g_param_spec_object ("fd-list", "file descriptor list",
|
g_param_spec_object ("fd-list", NULL, NULL,
|
||||||
"The GUnixFDList object to send with the message",
|
|
||||||
G_TYPE_UNIX_FD_LIST, G_PARAM_STATIC_STRINGS |
|
G_TYPE_UNIX_FD_LIST, G_PARAM_STATIC_STRINGS |
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||||
}
|
}
|
||||||
|
@ -133,9 +133,7 @@ g_unix_input_stream_class_init (GUnixInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FD,
|
PROP_FD,
|
||||||
g_param_spec_int ("fd",
|
g_param_spec_int ("fd", NULL, NULL,
|
||||||
P_("File descriptor"),
|
|
||||||
P_("The file descriptor to read from"),
|
|
||||||
G_MININT, G_MAXINT, -1,
|
G_MININT, G_MAXINT, -1,
|
||||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||||
|
|
||||||
@ -148,9 +146,7 @@ g_unix_input_stream_class_init (GUnixInputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CLOSE_FD,
|
PROP_CLOSE_FD,
|
||||||
g_param_spec_boolean ("close-fd",
|
g_param_spec_boolean ("close-fd", NULL, NULL,
|
||||||
P_("Close file descriptor"),
|
|
||||||
P_("Whether to close the file descriptor when the stream is closed"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||||
}
|
}
|
||||||
|
@ -132,9 +132,7 @@ g_unix_output_stream_class_init (GUnixOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FD,
|
PROP_FD,
|
||||||
g_param_spec_int ("fd",
|
g_param_spec_int ("fd", NULL, NULL,
|
||||||
P_("File descriptor"),
|
|
||||||
P_("The file descriptor to write to"),
|
|
||||||
G_MININT, G_MAXINT, -1,
|
G_MININT, G_MAXINT, -1,
|
||||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||||
|
|
||||||
@ -147,9 +145,7 @@ g_unix_output_stream_class_init (GUnixOutputStreamClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_CLOSE_FD,
|
PROP_CLOSE_FD,
|
||||||
g_param_spec_boolean ("close-fd",
|
g_param_spec_boolean ("close-fd", NULL, NULL,
|
||||||
P_("Close file descriptor"),
|
|
||||||
P_("Whether to close the file descriptor when the stream is closed"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
|
||||||
}
|
}
|
||||||
|
@ -276,9 +276,7 @@ g_unix_socket_address_class_init (GUnixSocketAddressClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_PATH,
|
PROP_PATH,
|
||||||
g_param_spec_string ("path",
|
g_param_spec_string ("path", NULL, NULL,
|
||||||
P_("Path"),
|
|
||||||
P_("UNIX socket path"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -292,9 +290,7 @@ g_unix_socket_address_class_init (GUnixSocketAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_PATH_AS_ARRAY,
|
g_object_class_install_property (gobject_class, PROP_PATH_AS_ARRAY,
|
||||||
g_param_spec_boxed ("path-as-array",
|
g_param_spec_boxed ("path-as-array", NULL, NULL,
|
||||||
P_("Path array"),
|
|
||||||
P_("UNIX socket path, as byte array"),
|
|
||||||
G_TYPE_BYTE_ARRAY,
|
G_TYPE_BYTE_ARRAY,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -310,9 +306,7 @@ g_unix_socket_address_class_init (GUnixSocketAddressClass *klass)
|
|||||||
* abstract addresses.
|
* abstract addresses.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ABSTRACT,
|
g_object_class_install_property (gobject_class, PROP_ABSTRACT,
|
||||||
g_param_spec_boolean ("abstract",
|
g_param_spec_boolean ("abstract", NULL, NULL,
|
||||||
P_("Abstract"),
|
|
||||||
P_("Whether or not this is an abstract address"),
|
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -326,9 +320,7 @@ g_unix_socket_address_class_init (GUnixSocketAddressClass *klass)
|
|||||||
* Since: 2.22
|
* Since: 2.22
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ADDRESS_TYPE,
|
g_object_class_install_property (gobject_class, PROP_ADDRESS_TYPE,
|
||||||
g_param_spec_enum ("address-type",
|
g_param_spec_enum ("address-type", NULL, NULL,
|
||||||
P_("Address type"),
|
|
||||||
P_("The type of UNIX socket address"),
|
|
||||||
G_TYPE_UNIX_SOCKET_ADDRESS_TYPE,
|
G_TYPE_UNIX_SOCKET_ADDRESS_TYPE,
|
||||||
G_UNIX_SOCKET_ADDRESS_PATH,
|
G_UNIX_SOCKET_ADDRESS_PATH,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
@ -258,9 +258,7 @@ g_win32_input_stream_class_init (GWin32InputStreamClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
props[PROP_HANDLE] =
|
props[PROP_HANDLE] =
|
||||||
g_param_spec_pointer ("handle",
|
g_param_spec_pointer ("handle", NULL, NULL,
|
||||||
P_("File handle"),
|
|
||||||
P_("The file handle to read from"),
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -274,9 +272,7 @@ g_win32_input_stream_class_init (GWin32InputStreamClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
props[PROP_CLOSE_HANDLE] =
|
props[PROP_CLOSE_HANDLE] =
|
||||||
g_param_spec_boolean ("close-handle",
|
g_param_spec_boolean ("close-handle", NULL, NULL,
|
||||||
P_("Close file handle"),
|
|
||||||
P_("Whether to close the file handle when the stream is closed"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -245,9 +245,7 @@ g_win32_output_stream_class_init (GWin32OutputStreamClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
props[PROP_HANDLE] =
|
props[PROP_HANDLE] =
|
||||||
g_param_spec_pointer ("handle",
|
g_param_spec_pointer ("handle", NULL, NULL,
|
||||||
P_("File handle"),
|
|
||||||
P_("The file handle to write to"),
|
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -261,9 +259,7 @@ g_win32_output_stream_class_init (GWin32OutputStreamClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
props[PROP_CLOSE_HANDLE] =
|
props[PROP_CLOSE_HANDLE] =
|
||||||
g_param_spec_boolean ("close-handle",
|
g_param_spec_boolean ("close-handle", NULL, NULL,
|
||||||
P_("Close file handle"),
|
|
||||||
P_("Whether to close the file handle when the stream is closed"),
|
|
||||||
TRUE,
|
TRUE,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_WRITABLE |
|
G_PARAM_WRITABLE |
|
||||||
|
@ -2695,9 +2695,7 @@ g_win32_registry_key_class_init (GWin32RegistryKeyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_PATH,
|
PROP_PATH,
|
||||||
g_param_spec_string ("path",
|
g_param_spec_string ("path", NULL, NULL,
|
||||||
"Path",
|
|
||||||
"Path to the key in the registry",
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -2712,9 +2710,7 @@ g_win32_registry_key_class_init (GWin32RegistryKeyClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_PATH_UTF16,
|
PROP_PATH_UTF16,
|
||||||
g_param_spec_pointer ("path-utf16",
|
g_param_spec_pointer ("path-utf16", NULL, NULL,
|
||||||
"Path (UTF-16)",
|
|
||||||
"Path to the key in the registry, in UTF-16",
|
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -230,9 +230,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FORMAT,
|
PROP_FORMAT,
|
||||||
g_param_spec_enum ("format",
|
g_param_spec_enum ("format", NULL, NULL,
|
||||||
P_("compression format"),
|
|
||||||
P_("The format of the compressed data"),
|
|
||||||
G_TYPE_ZLIB_COMPRESSOR_FORMAT,
|
G_TYPE_ZLIB_COMPRESSOR_FORMAT,
|
||||||
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
|
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -248,9 +246,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_LEVEL,
|
PROP_LEVEL,
|
||||||
g_param_spec_int ("level",
|
g_param_spec_int ("level", NULL, NULL,
|
||||||
P_("compression level"),
|
|
||||||
P_("The level of compression from 0 (no compression) to 9 (most compression), -1 for the default level"),
|
|
||||||
-1, 9,
|
-1, 9,
|
||||||
-1,
|
-1,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -268,9 +264,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FILE_INFO,
|
PROP_FILE_INFO,
|
||||||
g_param_spec_object ("file-info",
|
g_param_spec_object ("file-info", NULL, NULL,
|
||||||
P_("file info"),
|
|
||||||
P_("File info"),
|
|
||||||
G_TYPE_FILE_INFO,
|
G_TYPE_FILE_INFO,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -224,9 +224,7 @@ g_zlib_decompressor_class_init (GZlibDecompressorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FORMAT,
|
PROP_FORMAT,
|
||||||
g_param_spec_enum ("format",
|
g_param_spec_enum ("format", NULL, NULL,
|
||||||
P_("compression format"),
|
|
||||||
P_("The format of the compressed data"),
|
|
||||||
G_TYPE_ZLIB_COMPRESSOR_FORMAT,
|
G_TYPE_ZLIB_COMPRESSOR_FORMAT,
|
||||||
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
|
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||||
@ -244,9 +242,7 @@ g_zlib_decompressor_class_init (GZlibDecompressorClass *klass)
|
|||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class,
|
g_object_class_install_property (gobject_class,
|
||||||
PROP_FILE_INFO,
|
PROP_FILE_INFO,
|
||||||
g_param_spec_object ("file-info",
|
g_param_spec_object ("file-info", NULL, NULL,
|
||||||
P_("file info"),
|
|
||||||
P_("File info"),
|
|
||||||
G_TYPE_FILE_INFO,
|
G_TYPE_FILE_INFO,
|
||||||
G_PARAM_READABLE |
|
G_PARAM_READABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
@ -886,9 +886,7 @@ g_binding_class_init (GBindingClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SOURCE,
|
g_object_class_install_property (gobject_class, PROP_SOURCE,
|
||||||
g_param_spec_object ("source",
|
g_param_spec_object ("source", NULL, NULL,
|
||||||
P_("Source"),
|
|
||||||
P_("The source of the binding"),
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -901,9 +899,7 @@ g_binding_class_init (GBindingClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TARGET,
|
g_object_class_install_property (gobject_class, PROP_TARGET,
|
||||||
g_param_spec_object ("target",
|
g_param_spec_object ("target", NULL, NULL,
|
||||||
P_("Target"),
|
|
||||||
P_("The target of the binding"),
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -920,9 +916,7 @@ g_binding_class_init (GBindingClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_SOURCE_PROPERTY,
|
g_object_class_install_property (gobject_class, PROP_SOURCE_PROPERTY,
|
||||||
g_param_spec_string ("source-property",
|
g_param_spec_string ("source-property", NULL, NULL,
|
||||||
P_("Source Property"),
|
|
||||||
P_("The property on the source to bind"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -939,9 +933,7 @@ g_binding_class_init (GBindingClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_TARGET_PROPERTY,
|
g_object_class_install_property (gobject_class, PROP_TARGET_PROPERTY,
|
||||||
g_param_spec_string ("target-property",
|
g_param_spec_string ("target-property", NULL, NULL,
|
||||||
P_("Target Property"),
|
|
||||||
P_("The property on the target to bind"),
|
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
@ -954,9 +946,7 @@ g_binding_class_init (GBindingClass *klass)
|
|||||||
* Since: 2.26
|
* Since: 2.26
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
g_object_class_install_property (gobject_class, PROP_FLAGS,
|
||||||
g_param_spec_flags ("flags",
|
g_param_spec_flags ("flags", NULL, NULL,
|
||||||
P_("Flags"),
|
|
||||||
P_("The binding flags"),
|
|
||||||
G_TYPE_BINDING_FLAGS,
|
G_TYPE_BINDING_FLAGS,
|
||||||
G_BINDING_DEFAULT,
|
G_BINDING_DEFAULT,
|
||||||
G_PARAM_CONSTRUCT_ONLY |
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
|
@ -345,9 +345,7 @@ g_binding_group_class_init (GBindingGroupClass *klass)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
properties[PROP_SOURCE] =
|
properties[PROP_SOURCE] =
|
||||||
g_param_spec_object ("source",
|
g_param_spec_object ("source", NULL, NULL,
|
||||||
"Source",
|
|
||||||
"The source GObject used for binding properties.",
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
(G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
(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);
|
* GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||||
*
|
*
|
||||||
* obj_properties[PROP_FOO] =
|
* obj_properties[PROP_FOO] =
|
||||||
* g_param_spec_int ("foo", "Foo", "Foo",
|
* g_param_spec_int ("foo", NULL, NULL,
|
||||||
* -1, G_MAXINT,
|
* -1, G_MAXINT,
|
||||||
* 0,
|
* 0,
|
||||||
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
*
|
*
|
||||||
* obj_properties[PROP_BAR] =
|
* obj_properties[PROP_BAR] =
|
||||||
* g_param_spec_string ("bar", "Bar", "Bar",
|
* g_param_spec_string ("bar", NULL, NULL,
|
||||||
* NULL,
|
* NULL,
|
||||||
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
*
|
*
|
||||||
@ -1565,7 +1565,7 @@ g_object_notify (GObject *object,
|
|||||||
* static void
|
* static void
|
||||||
* my_object_class_init (MyObjectClass *klass)
|
* 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,
|
* 0, 100,
|
||||||
* 50,
|
* 50,
|
||||||
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
* G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
@ -610,9 +610,7 @@ g_signal_group_class_init (GSignalGroupClass *klass)
|
|||||||
* Since: 2.72
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
properties[PROP_TARGET] =
|
properties[PROP_TARGET] =
|
||||||
g_param_spec_object ("target",
|
g_param_spec_object ("target", NULL, NULL,
|
||||||
"Target",
|
|
||||||
"The target instance used when connecting signals.",
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
(G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
|
(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
|
* Since: 2.72
|
||||||
*/
|
*/
|
||||||
properties[PROP_TARGET_TYPE] =
|
properties[PROP_TARGET_TYPE] =
|
||||||
g_param_spec_gtype ("target-type",
|
g_param_spec_gtype ("target-type", NULL, NULL,
|
||||||
"Target Type",
|
|
||||||
"The GType of the target property.",
|
|
||||||
G_TYPE_OBJECT,
|
G_TYPE_OBJECT,
|
||||||
(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user