Prefer using pragma once

Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
This commit is contained in:
Bilal Elmoussaoui
2024-10-16 13:17:21 +02:00
parent aa0f2c4915
commit 5cbd847c84
98 changed files with 102 additions and 393 deletions

View File

@ -1,5 +1,4 @@
#ifndef __SHELL_WINDOW_PREVIEW_LAYOUT_H__
#define __SHELL_WINDOW_PREVIEW_LAYOUT_H__
#pragma once
G_BEGIN_DECLS
@ -29,5 +28,3 @@ void shell_window_preview_layout_remove_window (ShellWindowPreviewLayout *self
GList * shell_window_preview_layout_get_windows (ShellWindowPreviewLayout *self);
G_END_DECLS
#endif /* __SHELL_WINDOW_PREVIEW_LAYOUT_H__ */