[gnome-shell/wip/fmuellner/gtk4: 10/19] extensions-app: Stop using GtkContainer API
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/gtk4: 10/19] extensions-app: Stop using GtkContainer API
- Date: Fri, 13 Nov 2020 22:41:06 +0000 (UTC)
commit d15b80b06748979b50bd973a97c4de13b29469f3
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Apr 15 20:27:15 2020 +0200
extensions-app: Stop using GtkContainer API
The interface has been removed in GTK4, so use widget-specific API
for adding children where possible.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495
subprojects/extensions-app/js/main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js
index dc993ef966..b7288fac12 100644
--- a/subprojects/extensions-app/js/main.js
+++ b/subprojects/extensions-app/js/main.js
@@ -333,9 +333,9 @@ var ExtensionsWindow = GObject.registerClass({
row.show_all();
if (row.type === ExtensionType.PER_USER)
- this._userList.add(row);
+ this._userList.insert(row, -1);
else
- this._systemList.add(row);
+ this._systemList.insert(row, -1);
}
_queueUpdatesCheck() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]