I've been holding off working around this crash in the hope that I'd be
able to reproduce it and track down the real problem. I didn't manage to,
and if we're releasing soonish it's probably best to try and avoid crashing.
/**
* @file gtkconv.h GTK+ Conversation API
* @ingroup gtkui
*
* 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
*
*/
#include"internal.h"
#include"gtkgaim.h"
#ifndef _WIN32
#include<X11/Xlib.h>
#endif
#ifdef USE_GTKSPELL
#include<gtkspell/gtkspell.h>
# ifdef _WIN32
#include"wspell.h"
# endif
#endif
#include<gdk/gdkkeysyms.h>
#include"account.h"
#include"cmds.h"
#include"debug.h"
#include"imgstore.h"
#include"log.h"
#include"notify.h"
#include"prefs.h"
#include"prpl.h"
#include"request.h"
#include"sound.h"
#include"util.h"
#include"dnd-hints.h"
#include"gtkblist.h"
#include"gtkconv.h"
#include"gtkdialogs.h"
#include"gtkimhtml.h"
#include"gtkimhtmltoolbar.h"
#include"gtklog.h"
#include"gtkpounce.h"
#include"gtkprivacy.h"
#include"gtkutils.h"
#include"stock.h"
/* XXX */
#include"gaim.h"
#define AUTO_RESPONSE "<AUTO-REPLY> : "
#define SEND_COLOR "#16569E"
#define RECV_COLOR "#A82F2F"
staticcharnick_colors[][8]={
"#ba55d3",/* Medium Orchid */
"#ee82ee",/* Violet */
"#c715b4",/* Medium Violet Red */
"#ff69b4",/* Hot Pink */
"#ff6347",/* Tomato */
"#fa8c00",/* Dark Orange */
"#fa8072",/* Salmon */
"#b22222",/* Fire Brick */
"#f4a460",/* Sandy Brown */
"#cd5c5c",/* Indian Red */
"#bc8f8f",/* Rosy Brown */
"#f0e68c",/* Khaki */
"#bdb76b",/* Dark Khaki */
"#228b22",/* Forest Green */
"#9acd32",/* Yellow Green */
"#32cd32",/* Lime Green */
"#3cb371",/* Medium Sea Green (Medium Sea Green?! What are we women?!) */