summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk.c b/gtk.c
index 8a67699..6db2f33 100644
--- a/gtk.c
+++ b/gtk.c
@@ -3,7 +3,7 @@
#include <gtk/gtk.h>
#include <stdio.h>
-#include "limox.h"
+#include "net.h"
#include "data.h"
@@ -32,7 +32,7 @@ static GtkWidget* roster_button;
static void quit_cb(void) {
- limox_quit();
+ net_quit();
g_application_quit(G_APPLICATION(app));
}
@@ -46,7 +46,7 @@ static void connect_cb(void) {
// just dummy output
printf("Connecting with:\nJID: %s\nPWD: %s\n", jid_text, pwd_text);
- limox_connect(jid_text, pwd_text);
+ net_connect(jid_text, pwd_text);
}
static void disconnect_cb(void) {
@@ -56,7 +56,7 @@ static void disconnect_cb(void) {
// just dummy output
printf("Disconnected!\n");
- limox_disconnect();
+ net_disconnect();
}
void send_message() {
@@ -131,7 +131,7 @@ static void activate(void) {
static void idle_cb(void) {
- limox_run_once();
+ net_run_once();
}