settings: fix format string for GVariant (rh #1253320)

https://bugzilla.redhat.com/show_bug.cgi?id=1253320

Fixes: df6706813a
This commit is contained in:
Jiří Klimeš 2015-08-13 15:48:42 +02:00 committed by Thomas Haller
parent 60372f1090
commit b019052b92

View file

@ -1666,7 +1666,7 @@ dbus_get_agent_secrets_cb (NMSettingsConnection *self,
dict = nm_connection_to_dbus (NM_CONNECTION (self), NM_CONNECTION_SERIALIZE_ONLY_SECRETS);
if (!dict)
dict = g_variant_new_array (G_VARIANT_TYPE ("{sa{sv}}"), NULL, 0);
g_dbus_method_invocation_return_value (context, g_variant_new ("(@a{s{a{sv}}})", dict));
g_dbus_method_invocation_return_value (context, g_variant_new ("(@a{sa{sv}})", dict));
}
}