mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 20:00:09 +01:00
core: don't require an error argument to nm_device_check_connection_compatible()
This commit is contained in:
parent
db94e37eb5
commit
28edd78f89
1 changed files with 0 additions and 2 deletions
|
|
@ -783,8 +783,6 @@ nm_device_check_connection_compatible (NMDevice *device,
|
|||
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
|
||||
g_return_val_if_fail (connection != NULL, FALSE);
|
||||
g_return_val_if_fail (NM_IS_CONNECTION (connection), FALSE);
|
||||
g_return_val_if_fail (error != NULL, FALSE);
|
||||
g_return_val_if_fail (*error == NULL, FALSE);
|
||||
|
||||
if (NM_DEVICE_GET_CLASS (device)->check_connection_compatible)
|
||||
return NM_DEVICE_GET_CLASS (device)->check_connection_compatible (device, connection, error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue