[vala/0.10] D-Bus: Add interface to signal match rule for dbus-glib clients



commit d0b115d15ae02702d648ba875ae3f0240ee127cc
Author: Jürg Billeter <j bitron ch>
Date:   Sat Jan 8 23:37:25 2011 +0100

    D-Bus: Add interface to signal match rule for dbus-glib clients
    
    Fixes bug 631126.

 codegen/valadbusclientmodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valadbusclientmodule.vala b/codegen/valadbusclientmodule.vala
index af7197f..d8c2da6 100644
--- a/codegen/valadbusclientmodule.vala
+++ b/codegen/valadbusclientmodule.vala
@@ -1174,7 +1174,7 @@ public class Vala.DBusClientModule : DBusModule {
 		proxy_construct.block.add_statement (new CCodeExpressionStatement (filter_call));
 
 		var filter_printf = new CCodeFunctionCall (new CCodeIdentifier ("g_strdup_printf"));
-		filter_printf.add_argument (new CCodeConstant ("\"type='signal',path='%s'\""));
+		filter_printf.add_argument (new CCodeConstant ("\"type='signal',path='%s',interface='" + dbus_iface_name + "'\""));
 		filter_printf.add_argument (new CCodeIdentifier ("path"));
 
 		cdecl = new CCodeDeclaration ("char*");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]