From 3f7616c095434841b26b2ac673557da4ebdcb3e4 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Fri, 13 Nov 2015 16:00:35 +0200
Subject: [PATCH] panel.h: define typedef list_type_t.
We use 'typedef' to make it conform with all other type declarations
in that file.
---
src/filemanager/panel.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filemanager/panel.h b/src/filemanager/panel.h
index c1b7f2a..6ebd1ed 100644
a
|
b
|
|
27 | 27 | |
28 | 28 | /*** enums ***************************************************************************************/ |
29 | 29 | |
30 | | enum list_types |
| 30 | typedef enum |
31 | 31 | { |
32 | 32 | list_full, /* Name, size, perm/date */ |
33 | 33 | list_brief, /* Name */ |
34 | 34 | list_long, /* Like ls -l */ |
35 | 35 | list_user /* User defined */ |
36 | | }; |
| 36 | } list_type_t; |
37 | 37 | |
38 | 38 | typedef enum |
39 | 39 | { |
… |
… |
typedef struct |
93 | 93 | Widget widget; |
94 | 94 | dir_list dir; /* Directory contents */ |
95 | 95 | |
96 | | enum list_types list_type; /* listing type */ |
| 96 | list_type_t list_type; /* listing type */ |
97 | 97 | int active; /* If panel is currently selected */ |
98 | 98 | vfs_path_t *cwd_vpath; /* Current Working Directory */ |
99 | 99 | vfs_path_t *lwd_vpath; /* Last Working Directory */ |