equal
deleted
inserted
replaced
33 #include <mcabber/screen.h> |
33 #include <mcabber/screen.h> |
34 #include <mcabber/hbuf.h> |
34 #include <mcabber/hbuf.h> |
35 |
35 |
36 #include "disco.h" |
36 #include "disco.h" |
37 |
37 |
|
38 #include "config.h" |
|
39 |
38 // |
40 // |
39 // private types |
41 // private types |
40 // |
42 // |
41 |
43 |
42 // lm message handler userdata |
44 // lm message handler userdata |
552 for (hel = reply_handlers; hel; hel = hel -> next) { |
554 for (hel = reply_handlers; hel; hel = hel -> next) { |
553 LmMessageHandler *handler = hel -> data; |
555 LmMessageHandler *handler = hel -> data; |
554 lm_message_handler_invalidate (handler); |
556 lm_message_handler_invalidate (handler); |
555 #ifdef HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
557 #ifdef HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER |
556 if (lconnection) |
558 if (lconnection) |
557 lm_connection_unregister_reply_handler (handler); |
559 lm_connection_unregister_reply_handler (lconnection, handler); |
558 #endif |
560 #endif |
559 } |
561 } |
560 |
562 |
561 g_slist_free (reply_handlers); |
563 g_slist_free (reply_handlers); |
562 reply_handlers = NULL; |
564 reply_handlers = NULL; |