summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk.c b/gtk.c
index 3139cbb..fd8ab8a 100644
--- a/gtk.c
+++ b/gtk.c
@@ -263,3 +263,8 @@ void gui_run(void) {
g_object_unref(app);
}
+
+void gui_add_message(const char* sender_jid, const char* content) {
+
+ printf("Received from %s:\n%s\n", sender_jid, content);
+}