chiark / gitweb /
Changed to use of settable FOREIGN-LOCATION
authorespen <espen>
Wed, 8 Feb 2006 22:20:22 +0000 (22:20 +0000)
committerespen <espen>
Wed, 8 Feb 2006 22:20:22 +0000 (22:20 +0000)
gdk/gdk.lisp
gtk/gtk.lisp
gtk/gtkselection.lisp
gtk/gtktree.lisp
rsvg/rsvg.lisp

index 3ea51ac1c444c8df7b2d11371d0e5033dd78e3af..65288951f7a34bc76feec06d5c66a9bbe5204567 100644 (file)
@@ -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: gdk.lisp,v 1.19 2006-02-07 13:22:14 espen Exp $
+;; $Id: gdk.lisp,v 1.20 2006-02-08 22:20:22 espen Exp $
 
 
 (in-package "GDK")
@@ -425,7 +425,7 @@ (defbinding rgb-init () nil)
 (defmethod initialize-instance ((cursor cursor) &key type mask fg bg 
                                (x 0) (y 0) (display (display-get-default)))
   (setf 
-   (slot-value cursor 'location)
+   (foreign-location cursor)
    (etypecase type
      (keyword (%cursor-new-for-display display type))
      (pixbuf (%cursor-new-from-pixbuf display type x y))
index b3dc6fa2b17277c8af2d8ebc9ac07038624d2b29..63d4f541e9e55a742d1563e60fd25812d1606c32 100644 (file)
@@ -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: gtk.lisp,v 1.50 2006-02-08 15:22:33 espen Exp $
+;; $Id: gtk.lisp,v 1.51 2006-02-08 22:21:07 espen Exp $
 
 
 (in-package "GTK")
@@ -1096,7 +1096,7 @@ (defmethod initialize-instance ((dialog message-dialog)
                                flags text #+gtk 2.6 secondary-text 
                                transient-parent)
   (setf 
-   (slot-value dialog 'location)
+   (foreign-location dialog)
    (%message-dialog-new transient-parent flags message-type buttons))
   (when text
     (message-dialog-set-markup dialog text))
index c4b528eb50d698392b56400fd39fe52f2f935c04..9fa169e9d60bbec5d1e17dcde742aac57545b0d8 100644 (file)
@@ -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.4 2006-02-08 22:21:07 espen Exp $
 
 
 (in-package "GTK")
@@ -47,9 +47,7 @@ (defbinding %target-list-new () pointer
   ((length targets) int))
   
 (defmethod initialize-instance ((target-list target-list) &key targets)
-  (setf
-   (slot-value target-list 'location)
-   (%target-list-new targets))
+  (setf (foreign-location target-list) (%target-list-new targets))
   (call-next-method))
 
 (defbinding target-list-add (target-list target &optional flags info) nil
index 7abcc9c3b40c8879dc39b8b0adfba9bf22c46c87..9b408f5f1c4abf6b17f7f91bca413f2e9d166a03 100644 (file)
@@ -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: gtktree.lisp,v 1.12 2006-02-06 18:13:13 espen Exp $
+;; $Id: gtktree.lisp,v 1.13 2006-02-08 22:21:07 espen Exp $
 
 
 (in-package "GTK")
@@ -293,7 +293,7 @@ (defbinding %tree-row-reference-new () pointer
 
 (defmethod initialize-instance ((reference tree-row-reference) &key model path)
   (setf
-   (slot-value reference 'location)
+   (foreign-location reference)
    (%tree-row-reference-new model path))
   (call-next-method))
 
index 212c1f13fd6f1a9749498e8736ecc812bf046996..489ef4cfe6d41bebfbb84c37d87a6f45099316e2 100644 (file)
@@ -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: rsvg.lisp,v 1.1 2005-11-10 08:53:24 espen Exp $
+;; $Id: rsvg.lisp,v 1.2 2006-02-08 22:21:26 espen Exp $
 
 (in-package "RSVG")
 
@@ -118,7 +118,7 @@ (defmethod initialize-instance ((handle handle) &key filename)
        (t (%handle-new)))
     (if gerror 
        (signal-gerror gerror)
-      (setf (slot-value handle 'location) location)))
+      (setf (foreign-location handle) location)))
   (call-next-method))