Commit fa0e3251 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix D-Bus signal handlers, fixes bug 528937

2008-04-19  Juerg Billeter  <j@bitron.ch>

	* gobject/valaccodeassignmentbinding.vala: fix D-Bus signal
	  handlers, fixes bug 528937

svn path=/trunk/; revision=1277
parent 034f78e2
2008-04-19 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala: fix D-Bus signal
handlers, fixes bug 528937
2008-04-19 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: mark all cancellable parameters as
......
......@@ -179,6 +179,7 @@ public class Vala.CCodeAssignmentBinding : CCodeExpressionBinding {
if (sig is DBusSignal) {
// signal handler wrappers not used for D-Bus signals
ccall.add_argument (new CCodeCastExpression (new CCodeIdentifier (m.get_cname ()), "GCallback"));
m.cinstance_parameter_position = -1;
} else {
ccall.add_argument (new CCodeCastExpression (new CCodeIdentifier (generate_signal_handler_wrapper (m, sig)), "GCallback"));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment