X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/5b5d2f598d11bb36f38097d533a7a2231abbe9ce..57fa233bdfb10c242a90e0cde4dba120a5bb38a9:/gtk/gtkselection.lisp diff --git a/gtk/gtkselection.lisp b/gtk/gtkselection.lisp index a0b1cc5..457cbe9 100644 --- a/gtk/gtkselection.lisp +++ b/gtk/gtkselection.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: gtkselection.lisp,v 1.12 2007/12/13 14:29:59 espen Exp $ +;; $Id: gtkselection.lisp,v 1.13 2007/12/13 14:34:41 espen Exp $ (in-package "GTK") @@ -201,7 +201,7 @@ (define-callback %clipboard-clear-callback nil (declare (ignore clipboard)) (funcall (cdr (find-user-data callback-ids)))) -;; Deprecated, use clipboard-set-content +;; Deprecated, use clipboard-set-contents (defbinding clipboard-set-with-data (clipboard targets get-func clear-func) boolean (clipboard clipboard) (targets (vector (inlined target-entry))) @@ -210,7 +210,7 @@ (defbinding clipboard-set-with-data (clipboard targets get-func clear-func) bool (%clipboard-clear-callback callback) ((register-user-data (cons get-func clear-func)) unsigned-int)) -(defun clipboard-set-content (clipboard targets get-func &optional clear-func) +(defun clipboard-set-contents (clipboard targets get-func &optional clear-func) (%clipboard-set-with-data clipboard (ensure-target-table targets) get-func (or clear-func #'(lambda ()))))