diff options
author | Sophie Herold <sophie@hemio.de> | 2022-05-11 14:19:39 +0200 |
---|---|---|
committer | Sophie Herold <sophie@hemio.de> | 2022-05-11 18:16:29 +0200 |
commit | a546ae32d773a26f2f329f237e94bef74db6cce1 (patch) | |
tree | 2ae64ca0eee53ad0c73ec845ed9734c1df91b95d /gsk/gskglshader.c | |
parent | 9536eb654b15b2a906d4b63bbb9bb56a81e0a146 (diff) | |
download | gtk+-a546ae32d773a26f2f329f237e94bef74db6cce1.tar.gz |
Remove all nicks and blurbs from param specs
Those property features don't seem to be in use anywhere.
They are redundant since the docs cover the same information
and more. They also created unnecessary translation work.
Closes #4904
Diffstat (limited to 'gsk/gskglshader.c')
-rw-r--r-- | gsk/gskglshader.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gsk/gskglshader.c b/gsk/gskglshader.c index 9c3d728c67..7823651b8b 100644 --- a/gsk/gskglshader.c +++ b/gsk/gskglshader.c @@ -444,9 +444,7 @@ gsk_gl_shader_class_init (GskGLShaderClass *klass) * The source code for the shader, as a `GBytes`. */ gsk_gl_shader_properties[GLSHADER_PROP_SOURCE] = - g_param_spec_boxed ("source", - "Source", - "The sourcecode for the shader", + g_param_spec_boxed ("source", NULL, NULL, G_TYPE_BYTES, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | @@ -461,9 +459,7 @@ gsk_gl_shader_class_init (GskGLShaderClass *klass) * will be %NULL. */ gsk_gl_shader_properties[GLSHADER_PROP_RESOURCE] = - g_param_spec_string ("resource", - "Resources", - "Resource path to the source code", + g_param_spec_string ("resource", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | |