Mercurial > pidgin.yaz
comparison libpurple/imgstore.c @ 16376:dd47fa8ba3e4
Bug fixes! From my preliminary testing, the standard buddy icon stuff is working.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 24 Apr 2007 04:35:38 +0000 |
parents | 391a79778f89 |
children | 72dc611f3257 |
comparison
equal
deleted
inserted
replaced
16375:391a79778f89 | 16376:dd47fa8ba3e4 |
---|---|
142 | 142 |
143 img->refcount--; | 143 img->refcount--; |
144 | 144 |
145 if (img->refcount == 0) | 145 if (img->refcount == 0) |
146 { | 146 { |
147 purple_signal_emit(purple_blist_get_handle(), | 147 purple_signal_emit(purple_imgstore_get_handle(), |
148 "image-deleting", img); | 148 "image-deleting", img); |
149 | 149 |
150 if (img->id) | 150 if (img->id) |
151 g_hash_table_remove(imgstore, GINT_TO_POINTER(img->id)); | 151 g_hash_table_remove(imgstore, GINT_TO_POINTER(img->id)); |
152 g_slice_free(PurpleStoredImage, img); | 152 g_slice_free(PurpleStoredImage, img); |