Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/xmpp_muc.h @ 2313:70f8ae7d690e
Do not use g_slist_free_full() which requires glib2 2.28.0 (Frank Bergmann)
mcabber does not build on RHEL5.
The root cause is that mcabber uses g_slist_free_full which is available since
glib2 2.28.0 but configure checks only for 2.14.0.
This patch substitutes the g_slist_free_full call.
Frank Bergmann
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 21 Apr 2017 21:50:16 +0200 |
parents | 9f443617e96b |
children | ffd0e57e9563 |
line wrap: on
line source
#ifndef __MCABBER_XMPP_MUC_H__ #define __MCABBER_XMPP_MUC_H__ 1 typedef struct { char *to; char *from; char *passwd; char *reason; char *evid; gboolean reply; } event_muc_invitation; void destroy_event_muc_invitation(event_muc_invitation *invitation); void roompresence(gpointer room, void *presencedata); void got_invite(const char* from, const char *to, const char* reason, const char* passwd, gboolean reply); void got_muc_message(const char *from, LmMessageNode *x, time_t timestamp); void handle_muc_presence(const char *from, LmMessageNode * xmldata, const char *roomjid, const char *rname, enum imstatus ust, const char *ustmsg, time_t usttime, char bpprio); #endif /* __MCABBER_XMPP_MUC_H__ */ /* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */