From: espen Date: Wed, 2 Jan 2008 16:01:17 +0000 (+0000) Subject: Bug fix X-Git-Tag: clg-0-93~23 X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/94fafc2312da559808c07dc244e2ded73b8f2846 Bug fix --- diff --git a/gtk/gtkselection.lisp b/gtk/gtkselection.lisp index 457cbe9..1b7dfc5 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.13 2007/12/13 14:34:41 espen Exp $ +;; $Id: gtkselection.lisp,v 1.14 2008/01/02 16:01:17 espen Exp $ (in-package "GTK") @@ -211,7 +211,7 @@ ((register-user-data (cons get-func clear-func)) unsigned-int)) (defun clipboard-set-contents (clipboard targets get-func &optional clear-func) - (%clipboard-set-with-data clipboard (ensure-target-table targets) + (clipboard-set-with-data clipboard (ensure-target-table targets) get-func (or clear-func #'(lambda ())))) (defbinding clipboard-clear () nil