network: Don't explicitly disconnect signals that are automatically disconnected.

This commit is contained in:
Robert Ancell 2020-11-19 11:51:45 +13:00 committed by Georges Basile Stavracas Neto
parent 8ded3d956f
commit 362548fbd1

View file

@ -190,10 +190,6 @@ static void
net_connection_editor_finalize (GObject *object)
{
NetConnectionEditor *self = NET_CONNECTION_EDITOR (object);
GSList *l;
for (l = self->pages; l != NULL; l = l->next)
g_signal_handlers_disconnect_by_func (l->data, page_changed, self);
g_clear_object (&self->connection);
g_clear_object (&self->orig_connection);