libpurple/protocols/oscar/odc.c

changeset 33661
2ebcb105e606
parent 33052
df92c3d93904
child 33768
20d5c960d48f
--- a/libpurple/protocols/oscar/odc.c	Mon Jan 21 23:26:42 2013 -0800
+++ b/libpurple/protocols/oscar/odc.c	Tue Jan 22 00:05:35 2013 -0800
@@ -356,7 +356,7 @@
 
 			if ((embedded_data != NULL) && (embedded_data->size == size))
 			{
-				imgid = purple_imgstore_add_with_id(g_memdup(embedded_data->data, size), size, src);
+				imgid = purple_imgstore_new_with_id(g_memdup(embedded_data->data, size), size, src);
 
 				/* Record the image number */
 				images = g_slist_append(images, GINT_TO_POINTER(imgid));

mercurial