This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
gtk-standalone-main
- To: guile-gtk <guile-gtk at sourceware dot cygnus dot com>, "guile-user at gnu dot org" <guile-user at gnu dot org>
- Subject: gtk-standalone-main
- From: David Pirotte <david at altosw dot be>
- Date: Wed, 22 Aug 2001 01:30:19 +0200
- Organization: Alto Sotware (http://www.altosw.be)
well,
now that i use
guile 1.5.1
gnome-guile-0.21pre2
and since compiling/installing gnome-guile-0.21pre2 does not produce a
guile-gtk binary, i am facing and 'old problem':
guile requires the use of (gtk-standalone-main window) in order to
properly realize the window
but that is incompatible with a devel cycle, since destroying the
window also destroys the environment ...
so, what can i do? Marius suggested once to use
(use-modules (gtk threads))
(gtk-threads-ensure-handler)
but i first of all it is broken (see below) and second, i don't know
where to use (gtk-threads-ensure-handler), if it should be in the gui
code or typed in the guile listener ?
so, thanks for some hints on this one
david
;;
david@faust:~/alto/projects/guile/share/alto 31 $ guile
guile> (use-modules (gtk threads))
guile> (gtk-threads-ensure-handler)
/usr/local/share/guile/gtk/threads.scm:15:7: In expression (call-with-new-thread (lambda () #) %thread-handler):
/usr/local/share/guile/gtk/threads.scm:15:7: Unbound variable: call-with-new-thread
ABORT: (unbound-variable)
Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile>