projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78cde69
)
sidecar_file_priority function is already called with extension as an argument
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 2 Oct 2011 09:16:03 +0000
(11:16 +0200)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 2 Oct 2011 09:16:03 +0000
(11:16 +0200)
src/filedata.c
patch
|
blob
|
history
diff --git
a/src/filedata.c
b/src/filedata.c
index
a0bb4e9
..
046cdc3
100644
(file)
--- a/
src/filedata.c
+++ b/
src/filedata.c
@@
-27,7
+27,7
@@
static GHashTable *file_data_pool = NULL;
static GHashTable *file_data_planned_change_hash = NULL;
static GHashTable *file_data_pool = NULL;
static GHashTable *file_data_planned_change_hash = NULL;
-static gint sidecar_file_priority(const gchar *
path
);
+static gint sidecar_file_priority(const gchar *
extension
);
static FileData *file_data_new_local(const gchar *path, struct stat *st, gboolean disable_sidecars);
static FileData *file_data_new_local(const gchar *path, struct stat *st, gboolean disable_sidecars);
@@
-770,9
+770,8
@@
gchar *file_data_get_sidecar_path(FileData *fd, gboolean existing_only)
-static gint sidecar_file_priority(const gchar *
path
)
+static gint sidecar_file_priority(const gchar *
extension
)
{
{
- const gchar *extension = extension_from_path(path);
gint i = 1;
GList *work;
gint i = 1;
GList *work;