trivial: fix whitespace and spelling error
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
@@ -1839,8 +1839,8 @@ add_device (NMManager *self, NMDevice *device, gboolean generate_con)
|
|||||||
priv->devices = g_slist_append (priv->devices, device);
|
priv->devices = g_slist_append (priv->devices, device);
|
||||||
|
|
||||||
g_signal_connect (device, "state-changed",
|
g_signal_connect (device, "state-changed",
|
||||||
G_CALLBACK (manager_device_state_changed),
|
G_CALLBACK (manager_device_state_changed),
|
||||||
self);
|
self);
|
||||||
|
|
||||||
g_signal_connect (device, NM_DEVICE_AUTH_REQUEST,
|
g_signal_connect (device, NM_DEVICE_AUTH_REQUEST,
|
||||||
G_CALLBACK (device_auth_request_cb),
|
G_CALLBACK (device_auth_request_cb),
|
||||||
@@ -2918,7 +2918,7 @@ _new_vpn_active_connection (NMManager *self,
|
|||||||
NMDevice *device = NULL;
|
NMDevice *device = NULL;
|
||||||
|
|
||||||
if (specific_object) {
|
if (specific_object) {
|
||||||
/* Find the specifc connection the client requested we use */
|
/* Find the specific connection the client requested we use */
|
||||||
parent = active_connection_get_by_path (self, specific_object);
|
parent = active_connection_get_by_path (self, specific_object);
|
||||||
if (!parent) {
|
if (!parent) {
|
||||||
g_set_error_literal (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_CONNECTION_NOT_ACTIVE,
|
g_set_error_literal (error, NM_MANAGER_ERROR, NM_MANAGER_ERROR_CONNECTION_NOT_ACTIVE,
|
||||||
|
Reference in New Issue
Block a user