diff mcabber/mcabber/main.c @ 1685:1342df44c814

Improved events interface * User can pass additional arguments to event handler * MUC invitation reject now can be supplied a reason
author Myhailo Danylenko <isbear@ukrpost.net>
date Tue, 02 Feb 2010 22:44:18 +0100
parents e489ead6574a
children 02039190532d
line wrap: on
line diff
--- a/mcabber/mcabber/main.c	Tue Jan 19 19:16:38 2010 +0200
+++ b/mcabber/mcabber/main.c	Tue Feb 02 22:44:18 2010 +0100
@@ -45,6 +45,7 @@
 #include "fifo.h"
 #include "xmpp.h"
 #include "help.h"
+#include "events.h"
 
 #ifdef ENABLE_HGCSET
 # include "hgcset.h"
@@ -464,6 +465,7 @@
     g_source_unref(mc_source);
   }
 
+  evs_deinit();
   scr_TerminateCurses();
 #ifdef MODULES_ENABLE
   cmd_deinit();