summaryrefslogtreecommitdiff
path: root/gio/gmemoryoutputstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gmemoryoutputstream.c')
-rw-r--r--gio/gmemoryoutputstream.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/gio/gmemoryoutputstream.c b/gio/gmemoryoutputstream.c
index 0339a7ad7..2c22d94b3 100644
--- a/gio/gmemoryoutputstream.c
+++ b/gio/gmemoryoutputstream.c
@@ -154,9 +154,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
**/
g_object_class_install_property (gobject_class,
PROP_DATA,
- g_param_spec_pointer ("data",
- P_("Data Buffer"),
- P_("Pointer to buffer where data will be written."),
+ g_param_spec_pointer ("data", NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
@@ -169,9 +167,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
**/
g_object_class_install_property (gobject_class,
PROP_SIZE,
- g_param_spec_ulong ("size",
- P_("Data Buffer Size"),
- P_("Current size of the data buffer."),
+ g_param_spec_ulong ("size", NULL, NULL,
0, G_MAXULONG, 0,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
@@ -185,9 +181,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
**/
g_object_class_install_property (gobject_class,
PROP_DATA_SIZE,
- g_param_spec_ulong ("data-size",
- P_("Data Size"),
- P_("Size of data written to the buffer."),
+ g_param_spec_ulong ("data-size", NULL, NULL,
0, G_MAXULONG, 0,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
@@ -201,9 +195,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
**/
g_object_class_install_property (gobject_class,
PROP_REALLOC_FUNCTION,
- g_param_spec_pointer ("realloc-function",
- P_("Memory Reallocation Function"),
- P_("Function with realloc semantics called to enlarge the buffer."),
+ g_param_spec_pointer ("realloc-function", NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
@@ -216,9 +208,7 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
**/
g_object_class_install_property (gobject_class,
PROP_DESTROY_FUNCTION,
- g_param_spec_pointer ("destroy-function",
- P_("Destroy Notification Function"),
- P_("Function called with the buffer as argument when the stream is destroyed."),
+ g_param_spec_pointer ("destroy-function", NULL, NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
}