mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 23:00:07 +01:00
libnm/remote-connection: add a pair of curly brackets
...to aid readability.
This commit is contained in:
parent
b76da15dbf
commit
74a7626940
1 changed files with 2 additions and 2 deletions
|
|
@ -86,11 +86,11 @@ update2_cb (GObject *proxy, GAsyncResult *result, gpointer user_data)
|
||||||
if (nmdbus_settings_connection_call_update2_finish (NMDBUS_SETTINGS_CONNECTION (proxy),
|
if (nmdbus_settings_connection_call_update2_finish (NMDBUS_SETTINGS_CONNECTION (proxy),
|
||||||
&v,
|
&v,
|
||||||
result,
|
result,
|
||||||
&error))
|
&error)) {
|
||||||
g_simple_async_result_set_op_res_gpointer (simple,
|
g_simple_async_result_set_op_res_gpointer (simple,
|
||||||
v,
|
v,
|
||||||
(GDestroyNotify) g_variant_unref);
|
(GDestroyNotify) g_variant_unref);
|
||||||
else {
|
} else {
|
||||||
g_dbus_error_strip_remote_error (error);
|
g_dbus_error_strip_remote_error (error);
|
||||||
g_simple_async_result_take_error (simple, error);
|
g_simple_async_result_take_error (simple, error);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue