Skip to content

Commit 8be0cdb

Browse files
committed
Remove extraneous blank lines from source files
Cleaned up unnecessary trailing blank lines in object_registry.h, window_registry.cpp, and window_registry.h. Also fixed minor include and indentation formatting in window_manager_linux.cpp and window_manager_windows.cpp for consistency.
1 parent e447310 commit 8be0cdb

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

src/foundation/object_registry.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,3 @@ class ObjectRegistry {
110110
};
111111

112112
} // namespace nativeapi
113-
114-

src/platform/linux/window_manager_linux.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include <cstring>
22
#include <iostream>
33
#include <mutex>
4+
#include <set>
45
#include <string>
56
#include <unordered_map>
6-
#include <set>
77

88
#include "../../window.h"
99
#include "../../window_manager.h"
@@ -63,9 +63,9 @@ static void InstallGlobalSwizzling();
6363

6464
// Signal emission hook for show signal
6565
static gboolean on_show_emission_hook(GSignalInvocationHint* ihint,
66-
guint n_param_values,
67-
const GValue* param_values,
68-
gpointer data) {
66+
guint n_param_values,
67+
const GValue* param_values,
68+
gpointer data) {
6969
(void)ihint;
7070
(void)n_param_values;
7171
(void)data;
@@ -84,9 +84,9 @@ static gboolean on_show_emission_hook(GSignalInvocationHint* ihint,
8484

8585
// Signal emission hook for hide signal
8686
static gboolean on_hide_emission_hook(GSignalInvocationHint* ihint,
87-
guint n_param_values,
88-
const GValue* param_values,
89-
gpointer data) {
87+
guint n_param_values,
88+
const GValue* param_values,
89+
gpointer data) {
9090
(void)ihint;
9191
(void)n_param_values;
9292
(void)data;

src/platform/windows/window_manager_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include <psapi.h>
66
#include "../../window.h"
77
#include "../../window_event.h"
8-
#include "../../window_registry.h"
98
#include "../../window_manager.h"
9+
#include "../../window_registry.h"
1010
#include "string_utils_windows.h"
1111

1212
#pragma comment(lib, "psapi.lib")

src/window_registry.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,3 @@ void WindowRegistry::Clear() {
3838
}
3939

4040
} // namespace nativeapi
41-
42-

src/window_registry.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ class WindowRegistry {
2828
};
2929

3030
} // namespace nativeapi
31-
32-

0 commit comments

Comments
 (0)