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 30c48b9d147477ae8fdb79c92ded8089bcb1c9ae..cf148c8417eb21c05ee716b77d9e4be7d6ff0975 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 dd3606e49737f6ab363612fb5829f4ef17dec035..a4df25fc3b9bccb1c853c51f8fe09e528cfdf71b 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 f0481ff764401401f826bc109607f7a0316328f8..1097daa66e6522c6cce34f466edeadebaef2d8f5 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 5971ee293e194ca364b5c62a3be31f1e542a0e68..350425535650fa69d8df0a5971a322dee4018297 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 ec811ea0cef882e13cb055df1fc202a184206100..183705be90abfbf1d0bbcab8f3fff6db54305bc7 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))