X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/83147967cb445c456c0c5d462bea34913915a97d..7d2d7b3929ac33d0f9c9fd2bee67d03a2693c858:/gtk/gtkwidget.lisp diff --git a/gtk/gtkwidget.lisp b/gtk/gtkwidget.lisp index fb44dcf..4ac4e2e 100644 --- a/gtk/gtkwidget.lisp +++ b/gtk/gtkwidget.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: gtkwidget.lisp,v 1.29 2007/09/06 14:27:07 espen Exp $ +;; $Id: gtkwidget.lisp,v 1.30 2008/04/11 18:42:40 espen Exp $ (in-package "GTK") @@ -60,8 +60,7 @@ ((slot-boundp object 'parent) (with-slots (parent child-properties) object (setf child-properties - (make-instance - (gethash (class-of parent) *container-to-child-class-mappings*) + (make-instance (find-child-class (class-of parent)) :parent parent :child object)))) ((call-next-method))))