aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat_entry.h')
-rw-r--r--src/ui/chat_entry.h12
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
31typedef struct MESSENGER_Application MESSENGER_Application;
32 29
33typedef struct UI_CHAT_ENTRY_Handle 30typedef 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
46UI_CHAT_ENTRY_Handle* 45UI_CHAT_ENTRY_Handle*
47ui_chat_entry_new(void); 46ui_chat_entry_new(MESSENGER_Application *app);
47
48void
49ui_chat_entry_delete(UI_CHAT_ENTRY_Handle *handle);
48 50
49#endif /* UI_CHAT_ENTRY_H_ */ 51#endif /* UI_CHAT_ENTRY_H_ */