summaryrefslogtreecommitdiff
path: root/examples/dbus/userbus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/userbus.cc')
-rw-r--r--examples/dbus/userbus.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dbus/userbus.cc b/examples/dbus/userbus.cc
index 845db3b8..89f942fa 100644
--- a/examples/dbus/userbus.cc
+++ b/examples/dbus/userbus.cc
@@ -53,7 +53,7 @@ void dbus_proxy_available(Glib::RefPtr<Gio::AsyncResult>& result)
// Now extract the single item in the variant container which is the
// array of strings (the names).
Glib::Variant< std::vector<Glib::ustring> > names_variant;
- result.get(names_variant);
+ result.get_child(names_variant);
// Get the vector of strings.
std::vector<Glib::ustring> names = names_variant.get();