comparison src/filedata.c @ 1439:2441a90c4bcf

compute histogram in idle time
author nadvornik
date Sun, 15 Mar 2009 11:34:09 +0000
parents cf4029d10d38
children 5f49f305a6b6
comparison
equal deleted inserted replaced
1438:9141908e0609 1439:2441a90c4bcf
18 #include "cache.h" 18 #include "cache.h"
19 #include "thumb_standard.h" 19 #include "thumb_standard.h"
20 #include "ui_fileops.h" 20 #include "ui_fileops.h"
21 #include "metadata.h" 21 #include "metadata.h"
22 #include "trash.h" 22 #include "trash.h"
23 #include "histogram.h"
23 24
24 25
25 static GHashTable *file_data_pool = NULL; 26 static GHashTable *file_data_pool = NULL;
26 static GHashTable *file_data_planned_change_hash = NULL; 27 static GHashTable *file_data_planned_change_hash = NULL;
27 28
507 g_free(fd->path); 508 g_free(fd->path);
508 g_free(fd->original_path); 509 g_free(fd->original_path);
509 g_free(fd->collate_key_name); 510 g_free(fd->collate_key_name);
510 g_free(fd->collate_key_name_nocase); 511 g_free(fd->collate_key_name_nocase);
511 if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf); 512 if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf);
512 g_free(fd->histmap); 513 histmap_free(fd->histmap);
513 514
514 g_assert(fd->sidecar_files == NULL); /* sidecar files must be freed before calling this */ 515 g_assert(fd->sidecar_files == NULL); /* sidecar files must be freed before calling this */
515 516
516 file_data_change_info_free(NULL, fd); 517 file_data_change_info_free(NULL, fd);
517 g_free(fd); 518 g_free(fd);