crategus / cl-cffi-gtk

cl-cffi-gtk is a Lisp binding to the GTK+ 3 library.
http://www.crategus.com/books/cl-cffi-gtk
146 stars 33 forks source link

osx 10.7, ccl trunk, gtk3@3.14.5_1+x11 gtk-demo:main not responsive #34

Open jkordani opened 9 years ago

jkordani commented 9 years ago

after quickloading :cl-cffi-gtk-demo-gtk and evaluating gtk-demo:main, the gtk+ lisp code demos window opens, with 2 panes. On the left is all the text for the different examples, but the right window does not update when a new text on the left is selected. different backtraces are produced when the different entries are doubleclicked, the one for button widgets is shown below.

The value NIL is not of the expected type STRING. [Condition of type TYPE-ERROR]

Restarts: 0: [RETURN-FROM-G-CLOSURE] Return value from closure 1: [ABORT-BREAK] Reset this thread 2: [ABORT] Kill this thread

Backtrace: 0: (ENSURE-SIMPLE-STRING NIL) 1: (CCL::%PKG-REF-FIND-SYMBOL NIL #<PACKAGE-REF for "GTK-DEMO" [#<Package "GTK-DEMO">] #x3020028FE6ED>) 2: ((:INTERNAL GTK-DEMO::CREATE-VIEW-AND-MODEL) #<GTK:GTK-TREE-VIEW #x302002A1592D> #<GTK:GTK-TREE-PATH #x302002B9C34D> #<GTK:GTK-TREE-VIEW-COLUMN #x302002A18A0D>) 3: (GOBJECT::CALL-WITH-RESTARTS #<Compiled-function (:INTERNAL GTK-DEMO::CREATE-VIEW-AND-MODEL) (Non-Global) #x3020029C83DF> (#<GTK:GTK-TREE-VIEW #x302002A1592D> #<GTK:GTK-TREE-PATH #x302002B9C34D> ..)) 4: (CFFI-CALLBACKS::|GOBJECT::LISP-CLOSURE-MARSHAL| 371329240) 5: (CCL::%PASCAL-FUNCTIONS% 8 371329240) 6: (NIL #) 7: (GTK::%GTK-MAIN) 8: ((:INTERNAL GTK:ENSURE-GTK-MAIN)) 9: ((:INTERNAL BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS)) 10: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS cl-cffi-gtk main thread(14) [Active] #x30200270D09D> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x30200270CE2F>)) 11: ((:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS))) #<PROCESS cl-cffi-gtk main thread(14) [Active] #x30200270D09D> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL ..))) 12: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION))

Ferada commented 8 years ago

@jkordani the top-level entries aren't supposed to be activated I think; I pushed a fix to #41; however that will only prevent the error, not that clicking on the entries doesn't do anything.