chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eabe4e3
)
New function CLIPBOARD-SET, marked CLIPBOARD-SET-DATA as deprecated
author
espen
<espen>
Wed, 12 Dec 2007 15:47:29 +0000
(15:47 +0000)
committer
espen
<espen>
Wed, 12 Dec 2007 15:47:29 +0000
(15:47 +0000)
gtk/gtkselection.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gtk/gtkselection.lisp
b/gtk/gtkselection.lisp
index 09401032d12ffea4c25b20f06a90f6a997dd328b..0104fb79a78f2259e8bf507d9b1ca4c3ff9cd63f 100644
(file)
--- 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.
;; 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.1
0 2007/12/12 15:10:04
espen Exp $
+;; $Id: gtkselection.lisp,v 1.1
1 2007/12/12 15:47:29
espen Exp $
(in-package "GTK")
(in-package "GTK")
@@
-201,7
+201,8
@@
(define-callback %clipboard-clear-callback nil
(declare (ignore clipboard))
(funcall (cdr (find-user-data callback-ids))))
(declare (ignore clipboard))
(funcall (cdr (find-user-data callback-ids))))
-(defbinding %clipboard-set-with-data (clipboard targets get-func clear-func) boolean
+;; Deprecated, use clipboard-set
+(defbinding clipboard-set-with-data (clipboard targets get-func clear-func) boolean
(clipboard clipboard)
(targets (vector (inlined target-entry)))
((length targets) unsigned-int)
(clipboard clipboard)
(targets (vector (inlined target-entry)))
((length targets) unsigned-int)
@@
-209,7
+210,7
@@
(defbinding %clipboard-set-with-data (clipboard targets get-func clear-func) boo
(%clipboard-clear-callback callback)
((register-user-data (cons get-func clear-func)) unsigned-int))
(%clipboard-clear-callback callback)
((register-user-data (cons get-func clear-func)) unsigned-int))
-(defun clipboard-set
-with-data
(clipboard targets get-func &optional clear-func)
+(defun clipboard-set (clipboard targets get-func &optional clear-func)
(%clipboard-set-with-data clipboard (ensure-target-table targets)
get-func (or clear-func #'(lambda ()))))
(%clipboard-set-with-data clipboard (ensure-target-table targets)
get-func (or clear-func #'(lambda ()))))