mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 13:12:10 +01:00
Write out and parse full GObject property information (readable, writable, etc)
* girepository/girparser.c: Default to "readable" for properties. * giscanner/ast.py: Add readable, writable etc. * giscanner/girwriter.py: Writ them. * giscanner/glibtransformer.py: Inspect them. * tests/*: Update. svn path=/trunk/; revision=587
This commit is contained in:
parent
8f09203dda
commit
7a55bd25d9
@ -1191,7 +1191,8 @@ start_property (GMarkupParseContext *context,
|
||||
|
||||
((GIrNode *)property)->name = g_strdup (name);
|
||||
|
||||
if (readable && strcmp (readable, "1") == 0)
|
||||
/* Assume properties are readable */
|
||||
if (readable == NULL || strcmp (readable, "1") == 0)
|
||||
property->readable = TRUE;
|
||||
else
|
||||
property->readable = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user