gobject-introspection r218 - in trunk: . girepository



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]