diff options
Diffstat (limited to 'src/ui/messenger.h')
-rw-r--r-- | src/ui/messenger.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/ui/messenger.h b/src/ui/messenger.h index c2e53a1..6cd4c9d 100644 --- a/src/ui/messenger.h +++ b/src/ui/messenger.h | |||
@@ -33,6 +33,8 @@ typedef struct MESSENGER_Application MESSENGER_Application; | |||
33 | 33 | ||
34 | typedef struct UI_MESSENGER_Handle | 34 | typedef struct UI_MESSENGER_Handle |
35 | { | 35 | { |
36 | GList *chat_entries; | ||
37 | |||
36 | GtkApplicationWindow *main_window; | 38 | GtkApplicationWindow *main_window; |
37 | 39 | ||
38 | HdyLeaflet *leaflet_chat; | 40 | HdyLeaflet *leaflet_chat; |
@@ -40,7 +42,6 @@ typedef struct UI_MESSENGER_Handle | |||
40 | HdyFlap *flap_chat_details; | 42 | HdyFlap *flap_chat_details; |
41 | 43 | ||
42 | HdyHeaderBar *title_bar; | 44 | HdyHeaderBar *title_bar; |
43 | GtkButton *back_button; | ||
44 | 45 | ||
45 | HdyAvatar *profile_avatar; | 46 | HdyAvatar *profile_avatar; |
46 | GtkLabel *profile_label; | 47 | GtkLabel *profile_label; |
@@ -63,19 +64,9 @@ typedef struct UI_MESSENGER_Handle | |||
63 | GtkSearchEntry *chats_search; | 64 | GtkSearchEntry *chats_search; |
64 | GtkListBox *chats_listbox; | 65 | GtkListBox *chats_listbox; |
65 | 66 | ||
66 | GtkLabel *chat_title; | 67 | GtkStack *chats_stack; |
67 | GtkLabel *chat_subtitle; | ||
68 | GtkButton *chat_details_button; | ||
69 | 68 | ||
70 | GtkButton *hide_chat_details_button; | 69 | GtkButton *hide_chat_details_button; |
71 | |||
72 | GtkListBox *messages_listbox; | ||
73 | |||
74 | GtkButton *attach_file_button; | ||
75 | GtkTextView *send_text_view; | ||
76 | GtkButton *emoji_button; | ||
77 | GtkButton *send_record_button; | ||
78 | GtkImage *send_record_symbol; | ||
79 | } UI_MESSENGER_Handle; | 70 | } UI_MESSENGER_Handle; |
80 | 71 | ||
81 | void | 72 | void |
@@ -83,6 +74,6 @@ ui_messenger_init(MESSENGER_Application *app, | |||
83 | UI_MESSENGER_Handle *handle); | 74 | UI_MESSENGER_Handle *handle); |
84 | 75 | ||
85 | void | 76 | void |
86 | ui_messenger_run(MESSENGER_Application *app); | 77 | ui_messenger_cleanup(UI_MESSENGER_Handle *handle); |
87 | 78 | ||
88 | #endif /* UI_MESSENGER_H_ */ | 79 | #endif /* UI_MESSENGER_H_ */ |