[Xfce4-commits] <ristretto:master> Improve file-compare statement performance
Stephan Arts
noreply at xfce.org
Fri Mar 30 20:32:03 CEST 2012
Updating branch refs/heads/master
to 08099d83701a4b9ab74657147af5ffe0192246ac (commit)
from 74ab3f9fd1588ab66ebc7133264840d023c76d73 (commit)
commit 08099d83701a4b9ab74657147af5ffe0192246ac
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Feb 27 20:14:49 2012 +0100
Improve file-compare statement performance
src/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/file.c b/src/file.c
index e840c53..d5beabf 100644
--- a/src/file.c
+++ b/src/file.c
@@ -281,7 +281,7 @@ rstto_file_get_file ( RsttoFile *file )
gboolean
rstto_file_equal ( RsttoFile *a, RsttoFile *b )
{
- return g_file_equal (a->priv->file, b->priv->file);
+ return a == b;
}
const gchar *
More information about the Xfce4-commits
mailing list