From: espen Date: Fri, 4 Feb 2005 13:15:14 +0000 (+0000) Subject: Fixes for Gtk 2.6 X-Git-Tag: clg-0-90~96 X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/1448a84f960c21f5422616d8728983535c1e02da Fixes for Gtk 2.6 --- diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index d7ce35c..c337d48 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.lisp @@ -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: gtk.lisp,v 1.32 2005/02/03 23:09:07 espen Exp $ +;; $Id: gtk.lisp,v 1.33 2005/02/04 13:15:15 espen Exp $ (in-package "GTK") @@ -62,6 +62,24 @@ (setq *max-event-to-usec* 1000)))) +;;; About dialog + +#+gtk2.6 +(progn + (def-callback-marshal %about-dialog-activate-link-func + (nil (dialog about-dialog) (link (copy-of string)))) + + (defbinding about-dialog-set-email-hook (function) nil + ((callback %about-dialog-activate-link-func) pointer) + ((register-callback-function function) unsigned-int) + ((callback user-data-destroy-func) pointer)) + + (defbinding about-dialog-set-url-hook (function) nil + ((callback %about-dialog-activate-link-func) pointer) + ((register-callback-function function) unsigned-int) + ((callback user-data-destroy-func) pointer))) + + ;;; Acccel group (defbinding %accel-group-connect () nil @@ -565,8 +583,8 @@ (sensitive boolean)) #+gtk2.6 -(defbinding alternative-dialog-button-order-p(&optional screen) - (screen (or null screen))) +(defbinding alternative-dialog-button-order-p (&optional screen) boolean + (screen (or null gdk:screen))) #+gtk2.6 (defbinding (dialog-set-alternative-button-order @@ -752,8 +770,7 @@ #+gtk2.6 (defbinding file-filter-add-pixbuf-formats () nil - (filter file-filter) - (pattern string)) + (filter file-filter)) (def-callback-marshal %file-filter-func (boolean file-filter-info)) @@ -920,7 +937,7 @@ ;;; Menu tool button #+gtk2.6 -(defbinding menu-tool-button-set-arrow-tip () nil +(defbinding menu-tool-button-set-arrow-tooltip () nil (menu-tool-button menu-tool-button) (tooltips tooltips) (tip-text string) diff --git a/gtk/gtktypes.lisp b/gtk/gtktypes.lisp index a8381ef..59832e5 100644 --- a/gtk/gtktypes.lisp +++ b/gtk/gtktypes.lisp @@ -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.30 2005/01/12 13:38:18 espen Exp $ +;; $Id: gtktypes.lisp,v 1.31 2005/02/04 13:15:14 espen Exp $ (in-package "GTK") @@ -626,7 +626,7 @@ :type entry-completion) (max-length :merge t :unbound 0) #+gtk2.6 - (with-chars :merge t :unbound -1))) + (width-chars :merge t :unbound -1))) ("GtkEntryCompletion" :slots @@ -993,6 +993,15 @@ ; deprecated property ((font :ignore t))) + ("GtkClipboard" + :slots + ((display + :allocation :virtual + :getter "gtk_clipboard_get_display" + :reader clipboard-display + :type gdk:display))) + + ;; Not needed ("GtkFundamentalType" :ignore t) ("GtkArgFlags" :ignore t)