This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gtk-standalone-main


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]