changeset 16490:15f79c0cd0b9

Finally fix SILC fully, now that i have HAVE_SILCMIME_H defined.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 27 Apr 2007 04:04:04 +0000
parents 5f57cd067579
children 973bc831cd0a e40d216f1368
files libpurple/protocols/silc/util.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/util.c	Fri Apr 27 03:46:47 2007 +0000
+++ b/libpurple/protocols/silc/util.c	Fri Apr 27 04:04:04 2007 +0000
@@ -676,9 +676,9 @@
 		}
 
 		id = g_datalist_get_data(&attribs, "id");
-		if (id && (image = purple_imgstore_get(atoi(id)))) {
+		if (id && (image = purple_imgstore_find_by_id(atoi(id)))) {
 			unsigned long imglen = purple_imgstore_get_size(image);
-			gpointer img = purple_imgstore_get_data(image);
+			gconstpointer img = purple_imgstore_get_data(image);
 
 			p = silc_mime_alloc();