Skip to content

Commit 9086850

Browse files
committed
Use stack sidebar
1 parent 4ef618c commit 9086850

File tree

13 files changed

+408
-318
lines changed

13 files changed

+408
-318
lines changed

find-themes.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
#define _POSIX_C_SOURCE 200809L
23
#include <assert.h>
34
#include <dirent.h>
@@ -218,7 +219,7 @@ find_themes(struct themes *themes, const char *middle, const char *end)
218219
if (!vector_contains(themes, "Adwaita")) {
219220
struct theme *theme = grow_vector_by_one_theme(themes);
220221
theme->name = strdup("Adwaita");
221-
theme->path = NULL;
222+
theme->path = NULL;
222223
}
223224

224225
qsort(themes->data, themes->nr, sizeof(struct theme), compare);

keyboard-layouts.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
#define _POSIX_C_SOURCE 200809L
23
#include <stdbool.h>
34
#include <string.h>
@@ -19,7 +20,7 @@ keyboard_layouts_init(GList **layouts, const char *filename)
1920

2021
if (!fp) {
2122
perror("Error opening file");
22-
exit (EXIT_FAILURE);
23+
exit(EXIT_FAILURE);
2324
}
2425
while (getline(&line, &len, fp) != -1) {
2526
char *p = strrchr(line, '\n');

keyboard-layouts.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
12
#ifndef KEYBOARD_LAYOUTS_H
23
#define KEYBOARD_LAYOUTS_H
34
#include <gtk/gtk.h>

0 commit comments

Comments
 (0)