pidgin/gtkft.c

changeset 31889
96183796df0c
parent 31321
1fef3832cfa2
child 32250
c77e715af24a
child 32438
dc8991868906
child 36256
a437550a9308
equal deleted inserted replaced
31888:8300e1e9a38c 31889:96183796df0c
1147 { 1147 {
1148 purple_debug_info("ft", "creating thumbnail for transfer\n"); 1148 purple_debug_info("ft", "creating thumbnail for transfer\n");
1149 1149
1150 if (purple_xfer_get_size(xfer) <= PIDGIN_XFER_MAX_SIZE_IMAGE_THUMBNAIL) { 1150 if (purple_xfer_get_size(xfer) <= PIDGIN_XFER_MAX_SIZE_IMAGE_THUMBNAIL) {
1151 GdkPixbuf *thumbnail = 1151 GdkPixbuf *thumbnail =
1152 gdk_pixbuf_new_from_file_at_size( 1152 pidgin_pixbuf_new_from_file_at_size(
1153 purple_xfer_get_local_filename(xfer), 128, 128, NULL); 1153 purple_xfer_get_local_filename(xfer), 128, 128);
1154 1154
1155 if (thumbnail) { 1155 if (thumbnail) {
1156 gchar **formats_split = g_strsplit(formats, ",", 0); 1156 gchar **formats_split = g_strsplit(formats, ",", 0);
1157 gchar *buffer = NULL; 1157 gchar *buffer = NULL;
1158 gsize size; 1158 gsize size;

mercurial