chiark
/
gitweb
/
~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Defgenerics added to get rid of a few style-warnings
[clg]
/
gtk
/
gtkobject.lisp
diff --git
a/gtk/gtkobject.lisp
b/gtk/gtkobject.lisp
index ab645e41389486914d6a247d5c85f9180cb51179..cdd4cc08fcf030cdcb0ba34c0a4475f1203c1df5 100644
(file)
--- 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.
;; 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.
32 2006-02-26 15:22:07
espen Exp $
(in-package "GTK")
(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)
;;;; Superclass for the gtk class hierarchy
(eval-when (:compile-toplevel :load-toplevel :execute)
@@
-125,7
+115,7
@@
(defmethod effective-slot-definition-class ((class child-class) &rest initargs)
(t (call-next-method))))
(defmethod compute-effective-slot-definition-initargs ((class child-class) direct-slotds)
(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))
(nconc
(list :pname (most-specific-slot-value direct-slotds 'pname))
(call-next-method))