From: espen Date: Tue, 29 May 2001 15:53:32 +0000 (+0000) Subject: Bug fixes, extract types from libgdk_pixbuf X-Git-Tag: clg-0-90~383 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/commitdiff_plain/8ca42cb1fd80ba0d6abc2bdec02bd53560b84b82?ds=inline Bug fixes, extract types from libgdk_pixbuf --- diff --git a/gdk/gdktypes.lisp b/gdk/gdktypes.lisp index d73a08e..ae80a1a 100644 --- a/gdk/gdktypes.lisp +++ b/gdk/gdktypes.lisp @@ -15,11 +15,13 @@ ;; 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.3 2001/05/11 16:17:21 espen Exp $ +;; $Id: gdktypes.lisp,v 1.4 2001/05/29 15:53:32 espen Exp $ (in-package "GDK") -(init-types-in-library "/opt/gnome/lib/libgdk-x11-1.3.so") +(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")) (defclass color (boxed) ((pixel @@ -37,19 +39,20 @@ (defclass color (boxed) :allocation :alien :accessor color-blue :type unsigned-short)) - (:metaclass boxed-class)) + (:metaclass boxed-class) + (:alien-name "GdkColor")) - -(define-types-by-introspection "Gdk" - ("GdkFunction" :type gc-function) - ("GdkGC" :type gc) - ("GdkDrawableImplX11" :ignore t) - ("GdkWindowImplX11" :ignore t) - ("GdkPixmapImplX11" :ignore t) - ("GdkGCX11" :ignore t) - ("GdkColor" :ignore t) - ("GdkEvent" :ignore t)) +(eval-when (:compile-toplevel :load-toplevel :execute) + (define-types-by-introspection "Gdk" + ("GdkFunction" :type gc-function) + ("GdkGC" :type gc) + ("GdkDrawableImplX11" :ignore t) + ("GdkWindowImplX11" :ignore t) + ("GdkPixmapImplX11" :ignore t) + ("GdkGCX11" :ignore t) + ("GdkColor" :ignore t) + ("GdkEvent" :ignore t))) (deftype bitmap () 'pixmap)