summaryrefslogtreecommitdiff
path: root/examples/dbus/peer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/peer.cc')
-rw-r--r--examples/dbus/peer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbus/peer.cc b/examples/dbus/peer.cc
index c35bab8e..99cdb66b 100644
--- a/examples/dbus/peer.cc
+++ b/examples/dbus/peer.cc
@@ -120,7 +120,7 @@ static void on_method_call(const Glib::RefPtr<Gio::DBus::Connection>&,
// Get (expected) single string in tupple.
Glib::Variant<Glib::ustring> param;
- parameters.get(param);
+ parameters.get_child(param);
Glib::ustring response = "You said: '" + param.get() + "'.";
@@ -266,7 +266,7 @@ void run_as_client(Glib::ustring address)
"HelloWorld", parameters);
Glib::Variant<Glib::ustring> child;
- result.get(child);
+ result.get_child(child);
std::cout << "The server said: " << child.get() << "." << std::endl;