From: espen Date: Mon, 22 Oct 2007 09:21:50 +0000 (+0000) Subject: Added missing read-time conditional testing for Gtk+ version X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/2d7da5f06eb32d1d55b3518e3cca8174df9c3beb Added missing read-time conditional testing for Gtk+ version --- diff --git a/gtk/gtktext.lisp b/gtk/gtktext.lisp index 4b9e6dd..827f928 100644 --- a/gtk/gtktext.lisp +++ b/gtk/gtktext.lisp @@ -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: gtktext.lisp,v 1.9 2007-10-17 14:52:19 espen Exp $ +;; $Id: gtktext.lisp,v 1.10 2007-10-22 09:21:50 espen Exp $ (in-package "GTK") @@ -343,6 +343,7 @@ ;;; Text Iter +#?(pkg-exists-p "gtk+-2.0" :atleast-version "2.10.0") (defmethod allocate-foreign ((text-iter text-iter) &rest initargs) (declare (ignore initargs)) (let ((size (foreign-size (class-of text-iter)))) diff --git a/gtk/gtktree.lisp b/gtk/gtktree.lisp index 5a7f832..de51661 100644 --- a/gtk/gtktree.lisp +++ b/gtk/gtktree.lisp @@ -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.31 2007-10-17 14:47:10 espen Exp $ +;; $Id: gtktree.lisp,v 1.32 2007-10-22 09:21:50 espen Exp $ (in-package "GTK") @@ -385,6 +385,7 @@ (iter tree-iter :in/return) (path tree-path)) +#?(pkg-exists-p "gtk+-2.0" :atleast-version "2.12.0") (defmethod allocate-foreign ((tree-iter tree-iter) &rest initargs) (declare (ignore initargs)) (let ((size (foreign-size (class-of tree-iter))))