Mercurial > pidgin
annotate doc/cipher-signals.dox @ 12230:423323aa0dbe
[gaim-migrate @ 14532]
SF Patch #1366591 from Sadrul
"This patch is a fix for bug #1336974.
This patch is necessary when the image in the imgstore
has a very small size (~250 bytes). The
gdk_pixbuf_loader_write doesn't immediately parse the
data if the data-size is really small. So closing it
before trying to _loader_get_pixbuf makes sure all the
data gets parsed and the correct pixbuf gets returned."
I was skeptical when I saw the diff, but it turns out this is documented behavior. If I look at it from the point of view of a GdkPixbufLoader writer, it makes sense.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 26 Nov 2005 17:17:48 +0000 |
parents | 1ec93dd2f359 |
children | 8cf53d7a0887 |
rev | line source |
---|---|
12053 | 1 /** @page cipher-signals Cipher Signals |
2 | |
3 @signals | |
4 @signal cipher-added | |
5 @signal cipher-removed | |
6 @endsignals | |
7 | |
8 <hr> | |
9 | |
10 @signaldef cipher-added | |
11 @signalproto | |
12 void (*cipher_added)(GaimCipher *cipher); | |
13 @endsignalproto | |
14 @signaldesc | |
15 Emitted when a cipher is added. | |
16 @param cipher The cipher that was added. | |
17 @endsignaldef | |
18 | |
19 @signaldef cipher-removed | |
20 @signalproto | |
21 void (*cipher_removed)(GaimCipher *cipher); | |
22 @endsignalproto | |
23 @signaldesc | |
24 Emitted when a cipher is removed. | |
25 @param cipher The cipher that was removed. | |
26 @endsignaldef | |
27 | |
28 */ | |
29 // vim: syntax=c tw=75 et |