diff options
author | Steve Frécinaux <code@istique.net> | 2010-08-29 22:48:54 +0200 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2010-09-06 08:33:40 +0200 |
commit | f1a4bb9d7481f5ec19137f7be4854bae457a9367 (patch) | |
tree | 7e0c84038220869a3ed609a19b7d088054f7aa88 /girepository | |
parent | 15edabfef2322a621f069c29ac81b2df090806e4 (diff) | |
download | gobject-introspection-f1a4bb9d7481f5ec19137f7be4854bae457a9367.tar.gz |
[VFuncBlob] Unknown struct offset should be 0xFFFF
Documentation says about g_vfunc_get_offset():
"Obtain the offset of the function pointer in the class struct.
The value 0xFFFF indicates that the struct offset is unknown."
But g-ir-compiler did set the value to 0 when the offset is unknown.
This patch fixes it.
https://bugzilla.gnome.org/show_bug.cgi?id=628270
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/girparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c index 53f1c415..cff23057 100644 --- a/girepository/girparser.c +++ b/girepository/girparser.c @@ -2418,7 +2418,7 @@ start_vfunc (GMarkupParseContext *context, if (offset) vfunc->offset = atoi (offset); else - vfunc->offset = 0; + vfunc->offset = 0xFFFF; vfunc->invoker = g_strdup (invoker); |