Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 26965:655013f05eaa
Save raw-data for an image when possible.
This makes it possible to save received animated custom smileys, which
was not possible before since GTK+ can't save animated GIFs.
Invalidates and Closes #9066.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 16 May 2009 20:35:29 +0000 |
parents | 04af21d4be27 |
children | b18c6ab86e67 aef90fb02242 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sat May 16 19:03:41 2009 +0000 +++ b/pidgin/gtkconv.c Sat May 16 20:35:29 2009 +0000 @@ -6309,6 +6309,10 @@ if (!smiley) return; + smiley->data = g_realloc(smiley->data, smiley->datasize + size); + g_memmove(smiley->data + smiley->datasize, data, size); + smiley->datasize += size; + loader = smiley->loader; if (!loader) return;