NetworkServiceConnectAsync(): Don't pass the path as an argument
- it's implicit in the object (proxy) we're invoking the method on.
SetNetworkServiceProperty: Pass G_TYPE_VALUE instead of the inner type of the value object.
Change-Id: I421cafaf11a4fea988a1656cd026968f9db0461e
BUG=None
TEST=Call from Chrome network_library.cc
Review URL: http://codereview.chromium.org/6624026
diff --git a/chromeos_network.cc b/chromeos_network.cc
index 05cf11d..97ecdf9 100644
--- a/chromeos_network.cc
+++ b/chromeos_network.cc
@@ -1478,8 +1478,6 @@
&NetworkServiceConnectNotify,
cb_data,
&DeleteFlimflamCallbackData,
- DBUS_TYPE_G_OBJECT_PATH,
- &service_path,
G_TYPE_INVALID);
if (!call_id) {
LOG(ERROR) << "NULL call_id for: " << kFlimflamServiceInterface
@@ -1696,7 +1694,7 @@
&DeleteFlimflamCallbackData,
G_TYPE_STRING,
property,
- G_VALUE_TYPE(gsetting.get()),
+ G_TYPE_VALUE,
gsetting.get(),
G_TYPE_INVALID);
if (!call_id) {