Commit 1016b919 authored by Florian Müllner's avatar Florian Müllner Committed by Marge Bot

dbusServices/extensions: Stop using GtkContainer API

The interface has been removed in GTK4, so use widget-specific API
for adding children where possible.

Part-of: <!1495>
parent a450550e
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment