Re: [Vala] testrunner.sh on OpenIndiana

2017-11-01 Thread Jason Martin
All but three pass now. My patch below. Comments might help someone. /control-flow/bug736774-2 ERROR:/export/home/agrellum/vala-0.36.6/tests/_test/main.c:111:control_flow_bug736774_2_main: assertion failed: (keep != "test") control_flow.bug736774_2.check: line 2: 17168 Abort (cor

Re: [Vala] Help with pub-sub class

2017-11-01 Thread Steven Oliver
I've made some progress on this if anyone wants some answers for posterity. * Instead of using a struct I created a new class and I now pass an full object. This let's me have default values. The following are still eluding me: * The signal "publish" seems unable to take two parameters. (I don't

Re: [Vala] Class vs struct with signal

2017-11-01 Thread Steven Oliver
I finally figured this out, though I don't understand why what I did works. I changed the signal connection to use a non-existent variable named msg. Logging.get_default ().publish.connect ((msg) => { this.log (msg) ; }) ; Can anyone explain why doing that lets me