summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-20 17:52:16 +0200
committerxengineering <me@xengineering.eu>2022-08-20 17:52:16 +0200
commit4e61f83b432350303aee5635e98d3bc147e8fffa (patch)
tree4ac40e73bbdc648b4cafefd4917df6cd6d1a5983 /gtk.c
parentb661cc4bde4004f4d7085716680969f4659222a1 (diff)
downloadlimox-4e61f83b432350303aee5635e98d3bc147e8fffa.tar
limox-4e61f83b432350303aee5635e98d3bc147e8fffa.tar.zst
limox-4e61f83b432350303aee5635e98d3bc147e8fffa.zip
Rename limox.{c,h} to net.{c,h}
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();
}