[gnome-shell/wip/fmuellner/gtk4: 71/75] dbusServices/extensions: Stop using GtkContainer API




commit 411c32cc797caf16f9d1729a21b3ade02350bc2e
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Apr 15 20:27:15 2020 +0200

    dbusServices/extensions: Stop using GtkContainer API
    
    The interface has been removed in GTK4, so use widget-specific API
    for adding children where possible.

 js/dbusServices/extensions/extensionsService.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/dbusServices/extensions/extensionsService.js b/js/dbusServices/extensions/extensionsService.js
index cc40a56d7e..456ca6ba79 100644
--- a/js/dbusServices/extensions/extensionsService.js
+++ b/js/dbusServices/extensions/extensionsService.js
@@ -204,7 +204,7 @@ var ExtensionPrefsDialog = GObject.registerClass({
             prefsModule.init(extension.metadata);
 
             const widget = prefsModule.buildPrefsWidget();
-            this._stack.add(widget);
+            this._stack.add_named(widget, 'prefs');
             this._stack.visible_child = widget;
         } catch (e) {
             this._setError(e);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]