Mercurial > pidgin
view src/protocols/rendezvous/direct.h @ 10928:80a4e8e40057
[gaim-migrate @ 12705]
"destroy-event" doesn't get this far when the window is closed, so the trans. data isn't cleaned up when the conv. window is closed. This causes crashes when we do try to clean up. So, we use the "deleting-conversation" signal and detect that the last conversation in the window is being deleted.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 18 May 2005 22:06:32 +0000 |
parents | 913ec44675c3 |
children |
line wrap: on
line source
/** * @file direct.h Code to handle rendezvous direct connection. This * is basically a mini Jabber implementation. * * gaim * * Gaim is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef _DIRECT_H_ #define _DIRECT_H_ #include "eventloop.h" #include "rendezvous.h" void rendezvous_direct_acceptconnection(gpointer data, gint source, GaimInputCondition condition); void rendezvous_direct_send_message(GaimConnection *gc, const char *who, const char *message); #endif /* _DIRECT_H_ */