diff options
Diffstat (limited to 'src/ui/chat_entry.h')
-rw-r--r-- | src/ui/chat_entry.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/chat_entry.h b/src/ui/chat_entry.h index 2315686..4842eaf 100644 --- a/src/ui/chat_entry.h +++ b/src/ui/chat_entry.h | |||
@@ -25,13 +25,12 @@ | |||
25 | #ifndef UI_CHAT_ENTRY_H_ | 25 | #ifndef UI_CHAT_ENTRY_H_ |
26 | #define UI_CHAT_ENTRY_H_ | 26 | #define UI_CHAT_ENTRY_H_ |
27 | 27 | ||
28 | #include <gtk-3.0/gtk/gtk.h> | 28 | #include "chat.h" |
29 | #include <libhandy-1/handy.h> | ||
30 | |||
31 | typedef struct MESSENGER_Application MESSENGER_Application; | ||
32 | 29 | ||
33 | typedef struct UI_CHAT_ENTRY_Handle | 30 | typedef struct UI_CHAT_ENTRY_Handle |
34 | { | 31 | { |
32 | UI_CHAT_Handle *chat; | ||
33 | |||
35 | GtkWidget* entry_box; | 34 | GtkWidget* entry_box; |
36 | 35 | ||
37 | HdyAvatar* entry_avatar; | 36 | HdyAvatar* entry_avatar; |
@@ -44,6 +43,9 @@ typedef struct UI_CHAT_ENTRY_Handle | |||
44 | } UI_CHAT_ENTRY_Handle; | 43 | } UI_CHAT_ENTRY_Handle; |
45 | 44 | ||
46 | UI_CHAT_ENTRY_Handle* | 45 | UI_CHAT_ENTRY_Handle* |
47 | ui_chat_entry_new(void); | 46 | ui_chat_entry_new(MESSENGER_Application *app); |
47 | |||
48 | void | ||
49 | ui_chat_entry_delete(UI_CHAT_ENTRY_Handle *handle); | ||
48 | 50 | ||
49 | #endif /* UI_CHAT_ENTRY_H_ */ | 51 | #endif /* UI_CHAT_ENTRY_H_ */ |