Skip to content
Snippets Groups Projects
Commit 7fe215ad authored by Julien Bonjean's avatar Julien Bonjean
Browse files

Fixed g_object_unref warning for pixbuf

parent 75d8e108
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ void calllist_add_contact (gchar *contact_name, gchar *contact_phone, contact_ty ...@@ -35,7 +35,7 @@ void calllist_add_contact (gchar *contact_name, gchar *contact_phone, contact_ty
// Attach a pixbuf to a contact // Attach a pixbuf to a contact
if (photo) { if (photo) {
attach_thumbnail (new_call, photo); attach_thumbnail (new_call, gdk_pixbuf_copy(photo));
} }
else { else {
switch (type) { switch (type) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment