3 (defvar *about-dialog-url-func
* nil
)
5 (defcallback about-dialog-url-func-cb
:void
6 ((dialog (g-object about-dialog
)) (link (:string
:free-from-foreign nil
)) (user-data :pointer
))
7 (declare (ignore user-data
))
8 (funcall *about-dialog-url-func
* dialog link
))
10 (defcallback about-dialog-url-func-destroy-cb
:void
12 (declare (ignore data
))
13 (setf *about-dialog-url-func
* nil
))
15 (defcfun gtk-about-dialog-set-url-hook
:void
18 (destroy-notify :pointer
))
20 (defun (setf about-dialog-global-url-hook
) (new-value)
22 (gtk-about-dialog-set-url-hook (callback about-dialog-url-func-cb
)
24 (callback about-dialog-url-func-destroy-cb
))
25 (gtk-about-dialog-set-url-hook (null-pointer)
28 (setf *about-dialog-url-func
* new-value
))
30 (export 'about-dialog-global-url-hook
)
32 (defvar *about-dialog-email-func
* nil
)
34 (defcallback about-dialog-email-func-cb
:void
35 ((dialog (g-object about-dialog
)) (link (:string
:free-from-foreign nil
)) (user-data :pointer
))
36 (declare (ignore user-data
))
37 (funcall *about-dialog-email-func
* dialog link
))
39 (defcallback about-dialog-email-func-destroy-cb
:void
41 (declare (ignore data
))
42 (setf *about-dialog-email-func
* nil
))
44 (defcfun gtk-about-dialog-set-email-hook
:void
47 (destroy-notify :pointer
))
49 (defun (setf about-dialog-global-email-hook
) (new-value)
51 (gtk-about-dialog-set-email-hook (callback about-dialog-email-func-cb
)
53 (callback about-dialog-email-func-destroy-cb
))
54 (gtk-about-dialog-set-email-hook (null-pointer)
57 (setf *about-dialog-email-func
* new-value
))
59 (export 'about-dialog-global-email-hook
)