mirror of
https://github.com/elementary/gala.git
synced 2024-11-25 03:06:14 +01:00
WindowManager: Use Gtk.init
This commit is contained in:
parent
031e210f81
commit
e865bb5ee6
@ -303,6 +303,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user