keep-alive: drop unused error argument

This commit is contained in:
Thomas Haller 2018-11-17 12:43:25 +01:00
parent 00236ef977
commit 7842a58055
3 changed files with 5 additions and 7 deletions

View file

@ -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);
}

View file

@ -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);

View file

@ -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__ */