X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/1eae767d7c50172c611fe18b47d1713974737383..6088c843c7371c0e4d08390a847b4069e5bc0bde:/gtk/gtkobject.lisp diff --git a/gtk/gtkobject.lisp b/gtk/gtkobject.lisp index ab645e4..e88046c 100644 --- a/gtk/gtkobject.lisp +++ b/gtk/gtkobject.lisp @@ -20,22 +20,12 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gtkobject.lisp,v 1.29 2006-02-04 12:17:45 espen Exp $ +;; $Id: gtkobject.lisp,v 1.33 2006-02-28 16:34:37 espen Exp $ (in-package "GTK") -;;;; Misc utils - -; (defun name-to-string (name) -; (substitute #\_ #\- (string-downcase (string name)))) - -; (defun string-to-name (name &optional (package "KEYWORD")) -; (intern (substitute #\- #\_ (string-upcase name)) package)) - - - ;;;; Superclass for the gtk class hierarchy (eval-when (:compile-toplevel :load-toplevel :execute) @@ -125,18 +115,12 @@ (t (call-next-method)))) (defmethod compute-effective-slot-definition-initargs ((class child-class) direct-slotds) - (if (eq (most-specific-slot-value direct-slotds 'allocation) :property) + (if (eq (slot-definition-allocation (first direct-slotds)) :property) (nconc (list :pname (most-specific-slot-value direct-slotds 'pname)) (call-next-method)) (call-next-method))) -(progn - #+cmu(declaim (optimize (inhibit-warnings 3))) - #+sbcl(declaim (muffle-conditions compiler-note)) - (defun %container-child-get-property (parent child pname gvalue)) - (defun %container-child-set-property (parent child pname gvalue))) - (defmethod initialize-internal-slot-functions ((slotd effective-child-slot-definition)) (let ((type (slot-definition-type slotd))