GNOME Bugzilla – Bug 663289
Some signals expect incorrect number of arguments
Last modified: 2011-11-03 07:19:00 UTC
Sometimes signals expect more arguments than specified. The problem can be reproduced in the following manner: Declare two signals. The first signal should have non-zero number of arguments (say two). The second signal should not have 'parameters' value set. Upon trying to emit the second signal, the following error message is shown: ArgumentError Signal: less-args for type TestObject expected 2 arguments, got 0
Can you provide a code example showing this. Thanks Alan
Created attachment 200571 [details] [review] Add test case that fails because of the bug
Created attachment 200572 [details] [review] Patch to fix the bug The attached patch fixed the problem for me
Yes, I also reset the param_types just to be sure. It's committed now. Thanks Alan