Remove useless signal connection in about dialog

This commit is contained in:
Rafał Dzięgiel
2021-09-06 20:33:11 +02:00
parent b2a6e19fe1
commit fa39c45773

View File

@@ -298,15 +298,6 @@ class ClapperAboutDialog extends Gtk.AboutDialog
system_information: osInfo,
});
this.closeSignal = this.connect('close-request', this._onCloseRequest.bind(this));
this.show();
}
_onCloseRequest(dialog)
{
debug('closing about dialog');
dialog.disconnect(this.closeSignal);
this.closeSignal = null;
}
});