X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/ce28bf9ebc1d1cdc7f6114d462866af27dc8dcf6..refs/heads/try:/gtk/gtk.lisp diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index cac25d0..c5d3d54 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.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: gtk.lisp,v 1.97 2008/11/19 07:53:50 espen Exp $ +;; $Id: gtk.lisp,v 1.98 2008/11/25 22:11:08 espen Exp $ (in-package "GTK") @@ -788,7 +788,7 @@ (defbinding combo-box-prepend-text () nil (text string)) #?(pkg-exists-p "gtk+-2.0" :atleast-version "2.6.0") -(defbinding combo-box-get-active-text () (or string null) +(defbinding combo-box-get-active-text () (or null string) (combo-box combo-box)) (defbinding combo-box-popup () nil @@ -865,8 +865,10 @@ (defmethod compute-signal-function ((dialog dialog) signal function object args) (funcall callback dialog (dialog-find-response dialog response)))) (callback)))) -(defbinding dialog-run () nil +(defbinding %dialog-run () int (dialog dialog)) +(defun dialog-run (dialog) + (dialog-find-response dialog (%dialog-run dialog))) (defbinding dialog-response (dialog response) nil (dialog dialog)