[gthumb: 12/23] compare the uris instead of the files
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 12/23] compare the uris instead of the files
- Date: Sun, 4 Mar 2012 17:56:14 +0000 (UTC)
commit 583dabdea0045edefd9e4c1d5c2cddc0d6d2d0b3
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Mar 3 15:47:35 2012 +0100
compare the uris instead of the files
gthumb/gth-browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index c7d49de..a559d9b 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -795,7 +795,7 @@ _gth_browser_add_to_history (GthBrowser *browser,
if (file == NULL)
return;
- if ((browser->priv->history_current == NULL) || ! g_file_equal (file, browser->priv->history_current->data)) {
+ if ((browser->priv->history_current == NULL) || ! _g_file_equal_uris (file, browser->priv->history_current->data)) {
GList *scan;
/* remove all the occurrences of file from the history */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]