summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding/network-api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/network-api.c b/binding/network-api.c
index f2c3c7a..90b132e 100644
--- a/binding/network-api.c
+++ b/binding/network-api.c
@@ -278,7 +278,7 @@ static void network_manager_signal_callback(
if (!g_strcmp0(signal_name, "TechnologyAdded")) {
- g_variant_get(parameters, "o(a{sv})", &path, &array);
+ g_variant_get(parameters, "(oa{sv})", &path, &array);
basename = connman_strip_path(path);
g_assert(basename); /* guaranteed by dbus */
@@ -310,7 +310,7 @@ static void network_manager_signal_callback(
} else if (!g_strcmp0(signal_name, "TechnologyRemoved")) {
- g_variant_get(parameters, "o", &path);
+ g_variant_get(parameters, "(o)", &path);
basename = connman_strip_path(path);
g_assert(basename); /* guaranteed by dbus */