projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Actually return newly-created structs.
[geeqie.git]
/
src
/
filecluster.c
diff --git
a/src/filecluster.c
b/src/filecluster.c
index
36e5b4f
..
81a582a
100644
(file)
--- a/
src/filecluster.c
+++ b/
src/filecluster.c
@@
-62,12
+62,14
@@
FileClusterList *fileclusterlist_new()
{
FileClusterList *fcl = g_new0(FileClusterList, 1);
fcl->clusters = g_hash_table_new(&filecluster_fd_hash, &filecluster_fd_equal);
{
FileClusterList *fcl = g_new0(FileClusterList, 1);
fcl->clusters = g_hash_table_new(&filecluster_fd_hash, &filecluster_fd_equal);
+ return fcl;
}
FileCluster *filecluster_new()
{
FileCluster *fc = g_new0(FileCluster, 1);
fc->show_children = FALSE;
}
FileCluster *filecluster_new()
{
FileCluster *fc = g_new0(FileCluster, 1);
fc->show_children = FALSE;
+ return fc;
}
void fileclusterlist_free(FileClusterList *fcl)
}
void fileclusterlist_free(FileClusterList *fcl)