Someone got a simple test program for the GTK2 glue? I'd like to test that it really works on Windows.
Not all that simple, but http://mc.pp.se/gkdrill.pike is a GTK2 program. You could also try running install.pike in interactive mode.
Thank you. Your program failed on the assumption that /usr/share/edict/kanjidic exists. Haven't investigated further.
The installer starts and shows a window, but it doesn't work very well. Not that strange really. At least it shows that GTK2 basically works.
I noticed however that the GTK2 glue leaks, and that's not Windows specific. Just starting the interactive installer and pressing Cancel in the first window produces this leak list:
Object at 0xf82570 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:3099) Object at 0xf825d0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:3962) Object at 0xf825a0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:5358) Object at 0xf82540 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:2496) Object at 0xf82510 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:3875) Object at 0xf824e0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:5287) Object at 0xf824b0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:3962) Object at 0xf82480 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:3841) Object at 0xf82450 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:2139) Object at 0xf82420 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:2139) Object at 0xf823f0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:5358) Object at 0xf823c0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:4650) Object at 0xf82390 got 2 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:7248) Object at 0xf82360 got 2 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:7248) Object at 0xf82330 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:5358) Object at 0xf82300 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:5358) Object at 0xf822d0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:2139) Object at 0xf822a0 got 1 unaccounted refs (and 0 accounted): 0 (destructed) Program for destructed object: program(pgtk.c:2139)
They're all destructed, but still referenced. Perhaps it's only a matter of adding proper DO_PIKE_CLEANUP code in the module exit code.
I don't intend to dig into this; someone more familiar with the GTK2 stuff is welcome to do that. To get leak reports at exit, configure pike with --with-cleanup-on-exit.
You can download kanjidic from this URL: ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/kanjidic.gz (gunzip after downloading.)
pike-devel@lists.lysator.liu.se