Commit 7842a580 authored by Thomas Haller's avatar Thomas Haller

keep-alive: drop unused error argument

parent 00236ef9
......@@ -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__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment