mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 17:10:21 +01:00
keep-alive: drop unused error argument
This commit is contained in:
parent
00236ef977
commit
7842a58055
3 changed files with 5 additions and 7 deletions
|
|
@ -1027,7 +1027,7 @@ nm_active_connection_bind_dbus_client (NMActiveConnection *self, GDBusConnection
|
|||
{
|
||||
NMActiveConnectionPrivate *priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self);
|
||||
|
||||
nm_keep_alive_set_dbus_client_watch (priv->keep_alive, dbus_con, dbus_client, NULL);
|
||||
nm_keep_alive_set_dbus_client_watch (priv->keep_alive, dbus_con, dbus_client);
|
||||
nm_keep_alive_sink (priv->keep_alive);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -175,10 +175,9 @@ name_owner_changed_cb (GDBusConnection *connection,
|
|||
}
|
||||
|
||||
void
|
||||
nm_keep_alive_set_dbus_client_watch (NMKeepAlive *self,
|
||||
GDBusConnection *connection,
|
||||
const char *client_address,
|
||||
GError **error)
|
||||
nm_keep_alive_set_dbus_client_watch (NMKeepAlive *self,
|
||||
GDBusConnection *connection,
|
||||
const char *client_address)
|
||||
{
|
||||
NMKeepAlivePrivate *priv = NM_KEEP_ALIVE_GET_PRIVATE (self);
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ void nm_keep_alive_set_settings_connection_watch_visible (NMKeepAlive *s
|
|||
|
||||
void nm_keep_alive_set_dbus_client_watch (NMKeepAlive *self,
|
||||
GDBusConnection *connection,
|
||||
const char *client_address,
|
||||
GError **error);
|
||||
const char *client_address);
|
||||
|
||||
#endif /* __NETWORKMANAGER_KEEP_ALIVE_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue