Mercurial > pidgin.yaz
annotate pidgin/plugins/themeedit-icon.h @ 32194:462c19eb31d8
Remove duplicate calls to msn_slpmsg_set_slplink. This function is
already called when a slpmsg is created, and calling it again will
place the slpmsg on the slplink list an extra time. If the slpmsg is
freed, then the first entry is removed, but the second remains, and
can cause crashes due to invalid memory accesses.
Fixes #14307.
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Thu, 14 Jul 2011 05:54:10 +0000 |
| parents | f27198aad234 |
| children |
| rev | line source |
|---|---|
|
27130
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
1 /* Pidgin |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
2 * |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
3 * Pidgin is the legal property of its developers, whose names are too numerous |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
4 * to list here. Please refer to the COPYRIGHT file distributed with this |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
5 * source distribution. |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
6 * |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
7 * This program is free software; you can redistribute it and/or modify |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
8 * it under the terms of the GNU General Public License as published by |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
9 * the Free Software Foundation; either version 2 of the License, or |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
10 * (at your option) any later version. |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
11 * |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
12 * This program is distributed in the hope that it will be useful, |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
15 * GNU General Public License for more details. |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
16 * |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
17 * You should have received a copy of the GNU General Public License |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
18 * along with this program; if not, write to the Free Software |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
20 */ |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
21 |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
22 #ifndef _THEMEEDIT_ICON_H_ |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
23 #define _THEMEEDIT_ICON_H_ |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
24 |
|
26774
81559f83e993
Fix two warnings in the theme editor plugin
Paul Aurich <paul@darkrain42.org>
parents:
26662
diff
changeset
|
25 void pidgin_icon_theme_edit(PurplePluginAction *); |
|
26662
0dddfdb3a24a
A status-icon theme editor.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
26 |
|
27130
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
27 #endif |
|
f27198aad234
This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
26774
diff
changeset
|
28 |
