gobject-introspection r218 - in trunk: . girepository
- From: hp svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r218 - in trunk: . girepository
- Date: Wed, 23 Apr 2008 02:07:06 +0100 (BST)
Author: hp
Date: Wed Apr 23 01:07:05 2008
New Revision: 218
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=218&view=rev
Log:
2008-04-22 Havoc Pennington <hp pobox com>
* girepository/ginfo.c (g_interface_info_find_method):
Use interface_blob_size not object_blob_size to compute offset.
Modified:
trunk/ChangeLog
trunk/girepository/ginfo.c
Modified: trunk/girepository/ginfo.c
==============================================================================
--- trunk/girepository/ginfo.c (original)
+++ trunk/girepository/ginfo.c Wed Apr 23 01:07:05 2008
@@ -1418,7 +1418,7 @@
Header *header = (Header *)base->metadata->data;
InterfaceBlob *blob = (InterfaceBlob *)&base->metadata->data[base->offset];
- offset = base->offset + header->object_blob_size
+ offset = base->offset + header->interface_blob_size
+ (blob->n_prerequisites + (blob->n_prerequisites % 2)) * 2
+ blob->n_properties * header->property_blob_size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]