X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/3ae9640627513248b1918edca5fd69e7d3cb88bd..0f68f696efbf8f41b5900a1c4ca8398f2283039d:/gtk/gtkselection.lisp?ds=sidebyside diff --git a/gtk/gtkselection.lisp b/gtk/gtkselection.lisp index f0481ff..d75ae3c 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.3 2006/02/08 21:58:49 espen Exp $ +;; $Id: gtkselection.lisp,v 1.5 2006/02/09 22:32:47 espen Exp $ (in-package "GTK") @@ -46,11 +46,8 @@ (targets (vector (inlined target-entry))) ((length targets) int)) -(defmethod initialize-instance ((target-list target-list) &key targets) - (setf - (slot-value target-list 'location) - (%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)