diff options
author | Jürg Billeter <j@bitron.ch> | 2010-10-20 22:48:16 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-10-20 22:51:36 +0200 |
commit | e3d62648f3c960850392c447d125228695bee2a1 (patch) | |
tree | e8f0ff11529e95d9d729f0e38d6250a0191c2530 /tests/dbus | |
parent | 0de4fba791bd857591c7ead8ac6942d7ce74d4b9 (diff) | |
download | vala-e3d62648f3c960850392c447d125228695bee2a1.tar.gz |
D-Bus: Add flags parameter to get_proxy_sync methods
This also changes the default flags to DBusProxyFlags.NONE, which
enables property caching.
Fixes bug 631228.
Diffstat (limited to 'tests/dbus')
-rw-r--r-- | tests/dbus/arrays.test | 2 | ||||
-rw-r--r-- | tests/dbus/basic-types.test | 2 | ||||
-rw-r--r-- | tests/dbus/structs.test | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbus/arrays.test b/tests/dbus/arrays.test index fd52c323f..fa884ca24 100644 --- a/tests/dbus/arrays.test +++ b/tests/dbus/arrays.test @@ -13,7 +13,7 @@ interface Test : Object { void main () { // client - Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test"); + Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test", DBusProxyFlags.DO_NOT_LOAD_PROPERTIES); int[] j, k; k = test.test_int ({ 42 }, out j); diff --git a/tests/dbus/basic-types.test b/tests/dbus/basic-types.test index e6366be5b..9b183f74c 100644 --- a/tests/dbus/basic-types.test +++ b/tests/dbus/basic-types.test @@ -14,7 +14,7 @@ interface Test : Object { void main () { // client - Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test"); + Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test", DBusProxyFlags.DO_NOT_LOAD_PROPERTIES); test.test_void (); diff --git a/tests/dbus/structs.test b/tests/dbus/structs.test index 73311ca6b..d23dd84b8 100644 --- a/tests/dbus/structs.test +++ b/tests/dbus/structs.test @@ -22,7 +22,7 @@ interface Test : Object { void main () { // client - Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test"); + Test test = Bus.get_proxy_sync (BusType.SESSION, "org.example.Test", "/org/example/test", DBusProxyFlags.DO_NOT_LOAD_PROPERTIES); FooStruct f, g, h; f = FooStruct (42, "hello"); |