Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1684:95df4ea512c8 | 1685:1342df44c814 |
---|---|
43 #include "pgp.h" | 43 #include "pgp.h" |
44 #include "otr.h" | 44 #include "otr.h" |
45 #include "fifo.h" | 45 #include "fifo.h" |
46 #include "xmpp.h" | 46 #include "xmpp.h" |
47 #include "help.h" | 47 #include "help.h" |
48 #include "events.h" | |
48 | 49 |
49 #ifdef ENABLE_HGCSET | 50 #ifdef ENABLE_HGCSET |
50 # include "hgcset.h" | 51 # include "hgcset.h" |
51 #endif | 52 #endif |
52 | 53 |
462 | 463 |
463 g_source_destroy(mc_source); | 464 g_source_destroy(mc_source); |
464 g_source_unref(mc_source); | 465 g_source_unref(mc_source); |
465 } | 466 } |
466 | 467 |
468 evs_deinit(); | |
467 scr_TerminateCurses(); | 469 scr_TerminateCurses(); |
468 #ifdef MODULES_ENABLE | 470 #ifdef MODULES_ENABLE |
469 cmd_deinit(); | 471 cmd_deinit(); |
470 #endif | 472 #endif |
471 fifo_deinit(); | 473 fifo_deinit(); |