view src/gtkdebug.h @ 5301:d846a933299c

[gaim-migrate @ 5673] pur-angst pointed out that info gets set when you sign on, and it doesn't correctly check the unicode length thing. This mostly fixes that. Now your info will get set correctly. However if it is too long you will get 2 error messages saying Gaim has truncated it. This is better than nothing, for now, I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 06 May 2003 00:05:01 +0000
parents 740303e8425b
children 3c7748b24410
line wrap: on
line source

/**
 * @file gtkdebug.c GTK+ Debug API
 * @ingroup gtkui
 *
 * gaim
 *
 * Copyright (C) 2002-2003, Christian Hammond <chipx86@gnupdate.org>
 * 
 * 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 _GAIM_GTK_DEBUG_H_
#define _GAIM_GTK_DEBUG_H_

#include "debug.h"

/**
 * Shows the debug window.
 */
void gaim_gtk_debug_window_show(void);

/**
 * Hides the debug window.
 */
void gaim_gtk_debug_window_hide(void);

/**
 * Returns the UI operations structure for GTK debug output.
 *
 * @return The GTK UI debug operations structure.
 */
GaimDebugUiOps *gaim_get_gtk_debug_ui_ops(void);

#endif /* _GAIM_GTK_DEBUG_H_ */