mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 06:30:33 +01:00
trivial: nm_connectivity_check_async() returns void -> use g_return_if_fail()
This commit is contained in:
parent
5b449631de
commit
f56d0c2baf
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ nm_connectivity_check_async (NMConnectivity *self,
|
|||
#endif
|
||||
GSimpleAsyncResult *simple;
|
||||
|
||||
g_return_val_if_fail (NM_IS_CONNECTIVITY (self), FALSE);
|
||||
g_return_if_fail (NM_IS_CONNECTIVITY (self));
|
||||
priv = NM_CONNECTIVITY_GET_PRIVATE (self);
|
||||
|
||||
simple = g_simple_async_result_new (G_OBJECT (self), callback, user_data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue