[vala] D-Bus: Add interface to signal match rule for dbus-glib clients
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] D-Bus: Add interface to signal match rule for dbus-glib clients
- Date: Sat, 8 Jan 2011 23:07:04 +0000 (UTC)
commit 7900231907b8e7fd6ec4faf6e73492557150fd8b
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 1e22c06..ab56c42 100644
--- a/codegen/valadbusclientmodule.vala
+++ b/codegen/valadbusclientmodule.vala
@@ -1176,7 +1176,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]