X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/09f6e23711ab7b3b8f713f0cabdaeffcc7c4ac20..1eae767d7c50172c611fe18b47d1713974737383:/gtk/gtk.lisp diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index ed3c1ac..8b137ad 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.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: gtk.lisp,v 1.47 2005-11-15 10:08:13 espen Exp $ +;; $Id: gtk.lisp,v 1.48 2006-02-04 12:17:45 espen Exp $ (in-package "GTK") @@ -2231,7 +2231,7 @@ (defbinding %stock-lookup () boolean (defun stock-lookup (stock-id) (let ((location - (allocate-memory (proxy-instance-size (find-class 'stock-item))))) + (allocate-memory (foreign-size (find-class 'stock-item))))) (unwind-protect (when (%stock-lookup stock-id location) (ensure-proxy-instance 'stock-item (%stock-item-copy location)))