X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/88d2b3c2cc2f95bd7a03494f83cb56deaa07e944..09f6e23711ab7b3b8f713f0cabdaeffcc7c4ac20:/glib/genums.lisp diff --git a/glib/genums.lisp b/glib/genums.lisp index 64dbc0e..8095b90 100644 --- a/glib/genums.lisp +++ b/glib/genums.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: genums.lisp,v 1.14 2005-04-24 13:24:41 espen Exp $ +;; $Id: genums.lisp,v 1.15 2006-02-04 12:15:32 espen Exp $ (in-package "GLIB") @@ -276,7 +276,7 @@ (defun %query-enum-or-flags-values (query-function class type) (multiple-value-bind (sap length) (funcall query-function (type-class-ref type)) (let ((values nil) - (size (proxy-instance-size (find-class class))) + (size (foreign-size (find-class class))) (proxy (make-instance class :location sap))) (dotimes (i length) (with-slots (location nickname value) proxy