;; 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")
(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))
;; 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")
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))
;; 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")
((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
;; 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")
(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))
;; 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")
(t (%handle-new)))
(if gerror
(signal-gerror gerror)
- (setf (slot-value handle 'location) location)))
+ (setf (foreign-location handle) location)))
(call-next-method))