about summary refs log tree commit diff stats
path: root/src/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index c0e5ddca..c74b7cae 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -66,7 +66,6 @@ typedef enum {
 } win_type_t;
 
 typedef struct prof_win_t {
-
     win_type_t type;
 
     WINDOW *win;
@@ -75,11 +74,8 @@ typedef struct prof_win_t {
     char *chat_resource;
     int y_pos;
     int paged;
-    gboolean is_otr;
-    gboolean is_trusted;
     int unread;
     int history_shown;
-
     union {
         // WIN_CONSOLE
         struct {
@@ -89,6 +85,8 @@ typedef struct prof_win_t {
 
         // WIN_CHAT
         struct {
+            gboolean is_otr;
+            gboolean is_trusted;
         } chat;
 
         // WIN_MUC
@@ -136,5 +134,7 @@ void win_show_subwin(ProfWin *window);
 int win_roster_cols(void);
 int win_occpuants_cols(void);
 void win_printline_nowrap(WINDOW *win, char *msg);
+gboolean win_is_otr(ProfWin *window);
+gboolean win_is_trusted(ProfWin *window);
 
 #endif