pidgin/gtkutils.c

branch
soc.2013.gobjectification.plugins
changeset 37135
6271bcdee576
parent 37134
07746c9a04bf
parent 35825
4c1e8623b7c7
child 37136
cfa7c57f9ca5
equal deleted inserted replaced
37134:07746c9a04bf 37135:6271bcdee576
1444 break; 1444 break;
1445 } 1445 }
1446 shortname = strrchr(data->filename, G_DIR_SEPARATOR); 1446 shortname = strrchr(data->filename, G_DIR_SEPARATOR);
1447 shortname = shortname ? shortname + 1 : data->filename; 1447 shortname = shortname ? shortname + 1 : data->filename;
1448 img = purple_image_new_from_data(filedata, size); 1448 img = purple_image_new_from_data(filedata, size);
1449 purple_image_set_friendly_filename(img, shortname);
1449 1450
1450 pidgin_webview_insert_image(PIDGIN_WEBVIEW(gtkconv->entry), img); 1451 pidgin_webview_insert_image(PIDGIN_WEBVIEW(gtkconv->entry), img);
1451 g_object_unref(img); 1452 g_object_unref(img);
1452 1453
1453 break; 1454 break;

mercurial