chiark / gitweb /
Removed libdir path in calls to INIT-TYPES-IN-LIBRARY
authorespen <espen>
Mon, 12 Nov 2001 22:29:17 +0000 (22:29 +0000)
committerespen <espen>
Mon, 12 Nov 2001 22:29:17 +0000 (22:29 +0000)
gdk/gdktypes.lisp
gtk/gtkobject.lisp
gtk/gtktypes.lisp
pango/pango.lisp

index ae80a1a0942e97f6a712d564dd17ef74a28464c3..f2cd35eea1440eeb4580ec4871778c41230e29b0 100644 (file)
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gdktypes.lisp,v 1.4 2001/05/29 15:53:32 espen Exp $
+;; $Id: gdktypes.lisp,v 1.5 2001/11/12 22:29:17 espen Exp $
 
 (in-package "GDK")
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
-  (init-types-in-library "/opt/gnome/lib/libgdk-x11-1.3.so")
-  (init-types-in-library "/opt/gnome/lib/libgdk_pixbuf-1.3.so"))
+  (init-types-in-library "libgdk-x11-1.3.so")
+  (init-types-in-library "libgdk_pixbuf-1.3.so"))
 
 (defclass color (boxed)
   ((pixel
index cd905c0ba066424ba656a386b2e794af27997689..7557fc3e76d9a4197fbf1031493887e41ed5a3f2 100644 (file)
@@ -1,5 +1,5 @@
 ;; Common Lisp bindings for GTK+ v2.0
-;; Copyright (C) 1999-2001 Espen S. Johnsen <esj@stud.cs.uit.no>
+;; Copyright (C) 1999-2001 Espen S. Johnsen <espen@users.sourceforge.org>
 ;;
 ;; This library is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU Lesser General Public
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gtkobject.lisp,v 1.11 2001/10/25 08:16:17 espen Exp $
+;; $Id: gtkobject.lisp,v 1.12 2001/11/12 22:33:08 espen Exp $
 
 
 (in-package "GTK")
@@ -34,8 +34,7 @@ (in-package "GTK")
 ;;;; Superclass for the gtk class hierarchy
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
-  (init-types-in-library
-   "/opt/gnome/lib/libgtk-x11-1.3.so"
+  (init-types-in-library "libgtk-x11-1.3.so"
    :ignore ("gtk_window_get_type_hint"))
 
   (defclass %object (gobject)
index 8f426694b87e571d26b74a34970d9f77370e8bd4..8e51b24241175eb080aa4f35edf8dd7ce22ceae1 100644 (file)
@@ -1,5 +1,5 @@
 ;; Common Lisp bindings for GTK+ v2.0.x
-;; Copyright (C) 1999-2001 Espen S. Johnsen <esj@stud.cs.uit.no>
+;; Copyright (C) 1999-2001 Espen S. Johnsen <espen@users.sourceforge.org>
 ;;
 ;; This library is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU Lesser General Public
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gtktypes.lisp,v 1.8 2001/10/21 23:16:31 espen Exp $
+;; $Id: gtktypes.lisp,v 1.9 2001/11/12 22:32:17 espen Exp $
 
 
 (in-package "GTK")
@@ -69,10 +69,8 @@ (defclass adjustment (%object)
     :accessor adjustment-upper
     :initarg :upper
     :type single-float)
-   (value
+   (%value ; to get the offset right
     :allocation :alien
-    :accessor adjustment-value
-    :initarg :value
     :type single-float)
    (step-increment
     :allocation :alien
@@ -88,6 +86,13 @@ (defclass adjustment (%object)
     :allocation :alien
     :accessor adjustment-page-size
     :initarg :page-size
+    :type single-float)
+   (value
+    :allocation :virtual
+    :getter "gtk_adjustment_get_value"
+    :setter "gtk_adjustment_set_value"
+    :accessor adjustment-value
+    :initarg :value
     :type single-float))
   (:metaclass gobject-class)
   (:alien-name "GtkAdjustment"))
@@ -102,10 +107,6 @@ (define-types-by-introspection "Gtk"
   ("GtkAdjustment" :ignore t)
 
   
-  ;; Temporary disabled
-  ("GtkCellRenderer" :ignore-prefix t)
-
-  
   ;; Manual override
   ("GtkWidget"
    :slots
@@ -177,8 +178,10 @@ (define-types-by-introspection "Gtk"
    :slots
    ((child
      :allocation :virtual
-     :getter bin-child
-     :setter (setf bin-child))))
+     :getter "gtk_bin_get_child"
+     :setter (setf bin-child)
+     :reader bin-child
+     :type widget)))
   
   ("GtkTooltips"
    :slots
index c3738ecbc38fa7a737a1f4b6718209c24d15cf6b..1d1c1f03db32e8bd711b4b5b7983d02b2944269d 100644 (file)
@@ -1,5 +1,5 @@
 ;; Common Lisp bindings for GTK+ v2.0
-;; Copyright (C) 2001 Espen S. Johnsen <esj@stud.cs.uit.no>
+;; Copyright (C) 2001 Espen S. Johnsen <espen@users.sourceforge.org>
 ;;
 ;; This library is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU Lesser General Public
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: pango.lisp,v 1.2 2001/05/29 16:56:13 espen Exp $
+;; $Id: pango.lisp,v 1.3 2001/11/12 22:37:21 espen Exp $
 
 (in-package "PANGO")
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
-  (init-types-in-library
-   "/opt/gnome/lib/libpango.so"
-   :ignore ("_pango_fribidi_get_type"))
+  (init-types-in-library "libpango.so" :ignore ("_pango_fribidi_get_type"))
 
   (define-types-by-introspection "Pango"))