mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
Don't copy strings which are marked as static. Don't allow non-canonical
2005-03-20 Matthias Clasen <mclasen@redhat.com> * gparam.c (g_param_spec_internal): Don't copy strings which are marked as static. Don't allow non-canonical static names. * gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB} flags. (#160655, Ben Maurer)
This commit is contained in:
committed by
Matthias Clasen
parent
446c1f1aa8
commit
4bd613efc4
@@ -1,3 +1,8 @@
|
||||
2005-03-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tmpl/gparamspec.sgml: Document G_PARAM_SPEC_STATIC_
|
||||
flags.
|
||||
|
||||
2005-03-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/glib-sections.txt:
|
||||
|
@@ -140,7 +140,18 @@ can be configured.
|
||||
@G_PARAM_CONSTRUCT_ONLY: the parameter will only be set upon object construction
|
||||
@G_PARAM_LAX_VALIDATION: upon parameter conversion (see g_param_value_convert())
|
||||
strict validation is not required
|
||||
@G_PARAM_PRIVATE:
|
||||
@G_PARAM_STATIC_NAME: the string used as name when constructing the
|
||||
parameter is guaranteed to remain valid and
|
||||
unmodified for the lifetime of the parameter.
|
||||
Since 2.8
|
||||
@G_PARAM_STATIC_NICK: the string used as nick when constructing the
|
||||
parameter is guaranteed to remain valid and
|
||||
unmodified for the lifetime of the parameter.
|
||||
Since 2.8
|
||||
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
|
||||
parameter is guaranteed to remain valid and
|
||||
unmodified for the lifetime of the parameter.
|
||||
Since 2.8
|
||||
|
||||
<!-- ##### MACRO G_PARAM_READWRITE ##### -->
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user