From 25c2e94af5eacad10a23117ccf0215f57e445cc2 Mon Sep 17 00:00:00 2001 From: lenemter Date: Wed, 14 Feb 2024 18:50:30 +0900 Subject: [PATCH] Code style fixes --- .../WingpanelManager/DBusWingpanelManager.vala | 9 +++++---- compositor/meson.build | 16 ++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/compositor/WingpanelManager/DBusWingpanelManager.vala b/compositor/WingpanelManager/DBusWingpanelManager.vala index a7326cdc5..bb75f4ecc 100644 --- a/compositor/WingpanelManager/DBusWingpanelManager.vala +++ b/compositor/WingpanelManager/DBusWingpanelManager.vala @@ -18,10 +18,11 @@ */ [DBus (name = "org.pantheon.gala.WingpanelInterface")] -public class GreeterCompositor.DBusWingpanelManager : Object { - private WingpanelManager background_manager; +public class GreeterCompositor.DBusWingpanelManager : GLib.Object { private static DBusWingpanelManager? instance; - static WindowManager wm; + private static WindowManager wm; + + private WingpanelManager background_manager; [DBus (visible = false)] public static void init (WindowManager _wm) { @@ -58,4 +59,4 @@ public class GreeterCompositor.DBusWingpanelManager : Object { public void remember_focused_window () throws GLib.Error {} public void restore_focused_window () throws GLib.Error {} - } +} diff --git a/compositor/meson.build b/compositor/meson.build index 6008a2c9a..489b47846 100644 --- a/compositor/meson.build +++ b/compositor/meson.build @@ -65,14 +65,14 @@ mutter_typelib_dir = libmutter_dep.get_variable('typelibdir') # Here is the real Compositor work compositor_files = files( - 'Background/Animation.vala', - 'Background/Background.vala', - 'Background/BackgroundCache.vala', - 'Background/BackgroundContainer.vala', - 'Background/BackgroundManager.vala', - 'Background/BackgroundSource.vala', - 'Background/BlurEffect.vala', - 'Background/SystemBackground.vala', + 'Background/Animation.vala', + 'Background/Background.vala', + 'Background/BackgroundCache.vala', + 'Background/BackgroundContainer.vala', + 'Background/BackgroundManager.vala', + 'Background/BackgroundSource.vala', + 'Background/BlurEffect.vala', + 'Background/SystemBackground.vala', 'WingpanelManager/WingpanelManager.vala', 'WingpanelManager/DBusWingpanelManager.vala', 'WingpanelManager/BackgroundUtils.vala',