X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/cc74b2c987edc3e2bc85413e92f33e2690a32b1c..3e9e71e7345ef984f615511864f91271cfb93ba5:/gtk/gtkselection.lisp diff --git a/gtk/gtkselection.lisp b/gtk/gtkselection.lisp index 9fa169e..3c0eee2 100644 --- a/gtk/gtkselection.lisp +++ b/gtk/gtkselection.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: gtkselection.lisp,v 1.4 2006-02-08 22:21:07 espen Exp $ +;; $Id: gtkselection.lisp,v 1.5 2006-02-09 22:32:47 espen Exp $ (in-package "GTK") @@ -46,9 +46,8 @@ (targets (vector (inlined target-entry))) ((length targets) int)) -(defmethod initialize-instance ((target-list target-list) &key targets) - (setf (foreign-location target-list) (%target-list-new targets)) - (call-next-method)) +(defmethod allocate-foreign ((target-list target-list) &key targets) + (%target-list-new targets)) (defbinding target-list-add (target-list target &optional flags info) nil (target-list target-list)