[polari] mainWindow: Unparent userListPopover on destroy
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] mainWindow: Unparent userListPopover on destroy
- Date: Fri, 3 Sep 2021 21:44:35 +0000 (UTC)
commit 35ca3dee5aef11022213b9f6521e5ffb0094a7a5
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 3 23:21:05 2021 +0200
mainWindow: Unparent userListPopover on destroy
If we set a parent of a widget, GTK4 expects us to unparent it
as well. Fair enough.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/231>
src/mainWindow.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index f7aa438f..3762e9e4 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -282,6 +282,7 @@ export default GObject.registerClass({
this._settings.reset('last-selected-channel');
this.active_room = null;
+ this._userListPopover.unparent();
this._accountsMonitor.disconnect(this._accountsChangedId);
this._accountsMonitor.disconnect(this._accountReachableId);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]