Don't use Gtk.init

This commit is contained in:
lenemter 2023-09-26 09:38:53 +09:00 committed by Corentin Noël
parent 151e5f0175
commit 5f3245ead8

View File

@ -303,10 +303,6 @@ namespace Gala {
// Most things inside this "later" depend on GTK. We get segfaults if we try to do GTK stuff before the window manager
// is initialized, so we hold this stuff off until we're ready to draw
laters.add (Meta.LaterType.BEFORE_REDRAW, () => {
string[] args = {};
unowned string[] _args = args;
Gtk.init (ref _args);
accent_color_manager = new AccentColorManager ();
// initialize plugins and add default components if no plugin overrides them