diff mcabber/src/hooks.c @ 1653:fca9a4c17432

Improve UI latency and CPU usage Remove main_loop(), and use GIOChannels for the FIFO system.
author Myhailo Danylenko <isbear@ukrpost.net>
date Tue, 01 Dec 2009 21:06:06 +0100
parents cd67b29e04e3
children c3d0cb4dc9d4
line wrap: on
line diff
--- a/mcabber/src/hooks.c	Sun Nov 22 23:38:31 2009 +0200
+++ b/mcabber/src/hooks.c	Tue Dec 01 21:06:06 2009 +0100
@@ -34,7 +34,7 @@
 #include "utils.h"
 #include "utf8.h"
 #include "commands.h"
-#include "fifo.h"
+#include "main.h"
 
 #ifdef MODULES_ENABLE
 #include <glib.h>
@@ -92,7 +92,6 @@
     last = now;
   }
   */
-  fifo_read();
 }
 
 void hk_message_in(const char *bjid, const char *resname,