diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/swaybar/status_line.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/swaybar/status_line.h b/include/swaybar/status_line.h index 150267cd..857948a5 100644 --- a/include/swaybar/status_line.h +++ b/include/swaybar/status_line.h | |||
@@ -12,11 +12,6 @@ enum status_protocol { | |||
12 | PROTOCOL_I3BAR, | 12 | PROTOCOL_I3BAR, |
13 | }; | 13 | }; |
14 | 14 | ||
15 | struct text_protocol_state { | ||
16 | char *buffer; | ||
17 | size_t buffer_size; | ||
18 | }; | ||
19 | |||
20 | enum json_node_type { | 15 | enum json_node_type { |
21 | JSON_NODE_UNKNOWN, | 16 | JSON_NODE_UNKNOWN, |
22 | JSON_NODE_ARRAY, | 17 | JSON_NODE_ARRAY, |
@@ -63,7 +58,8 @@ struct status_line { | |||
63 | const char *text; | 58 | const char *text; |
64 | struct wl_list blocks; // i3bar_block::link | 59 | struct wl_list blocks; // i3bar_block::link |
65 | 60 | ||
66 | struct text_protocol_state text_state; | 61 | char *buffer; |
62 | size_t buffer_size; | ||
67 | struct i3bar_protocol_state i3bar_state; | 63 | struct i3bar_protocol_state i3bar_state; |
68 | }; | 64 | }; |
69 | 65 | ||