Mercurial > pidgin.yaz
view src/stock.h @ 4571:51e988d015ed
[gaim-migrate @ 4852]
I don't know if this is gtk's problem or my (our?) misunderstanding of
GtkNotebook, but it seems pages that are deleted aren't destroying the
child widgets, so we're doing that manually now. It should free up a LOT
of memory, and since this is how the old code did it (I think), it should
explain the large memory leaks people used to report.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 11 Feb 2003 17:26:16 +0000 |
parents | 7521e29658bc |
children | 283fb289c510 |
line wrap: on
line source
/** * @file stock.h GTK+ Stock resources * * 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 _STOCK_H_ #define _STOCK_H_ /**************************************************************************/ /** @name Stock images */ /**************************************************************************/ /*@{*/ #define GAIM_STOCK_BGCOLOR "gaim-bgcolor" #define GAIM_STOCK_BLOCK "gaim-block" #define GAIM_STOCK_DOWNLOAD "gaim-download" #define GAIM_STOCK_FGCOLOR "gaim-fgcolor" #define GAIM_STOCK_FILE_CANCELED "gaim-file-canceled" #define GAIM_STOCK_FILE_DONE "gaim-file-done" #define GAIM_STOCK_IGNORE "gaim-ignore" #define GAIM_STOCK_IMAGE "gaim-image" #define GAIM_STOCK_INFO "gaim-info" #define GAIM_STOCK_INVITE "gaim-invite" #define GAIM_STOCK_LINK "gaim-link" #define GAIM_STOCK_SEND "gaim-send" #define GAIM_STOCK_SMILEY "gaim-smiley" #define GAIM_STOCK_TEXT_BIGGER "gaim-text-bigger" #define GAIM_STOCK_TEXT_NORMAL "gaim-text-normal" #define GAIM_STOCK_TEXT_SMALLER "gaim-text-smaller" #define GAIM_STOCK_UPLOAD "gaim-upload" #define GAIM_STOCK_WARN "gaim-warn" /*@}*/ /** * Sets up the gaim stock repository. */ void setup_stock(void); #endif /* _STOCK_H_ */