X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/12cae344217bb2bbcb1e4b727cdd4133e225a0d8..0739b019015e56f8f9149d7a0e087b074651e58b:/gtk/gtk.lisp?ds=sidebyside diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index f06dd56..b17cb0b 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 @@ (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)))