[Xfce4-commits] <ristretto:master> Fix recently-used list for single image -- really this time

Stephan Arts noreply at xfce.org
Sun Aug 14 14:26:01 CEST 2011


Updating branch refs/heads/master
         to 46be1c863ce71ff48d96c2577cf048589c259e41 (commit)
       from 525ec6ebc3635a107e3a6176186b9bad7da6832b (commit)

commit 46be1c863ce71ff48d96c2577cf048589c259e41
Author: Stephan Arts <stephan at xfce.org>
Date:   Sun Aug 14 14:25:21 2011 +0200

    Fix recently-used list for single image -- really this time

 src/main_window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 970ecda..81c4efa 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -2060,7 +2060,6 @@ cb_rstto_main_window_open_image (GtkWidget *widget, RsttoMainWindow *window)
                 else
                 {
                     g_idle_add_full(G_PRIORITY_LOW, (GSourceFunc) rstto_main_window_add_file_to_recent_files, file, NULL);
-
                 }
 
                 _files_iter = g_slist_next (_files_iter);
@@ -2081,7 +2080,7 @@ cb_rstto_main_window_open_image (GtkWidget *widget, RsttoMainWindow *window)
             }
             else
             {
-                g_idle_add_full(G_PRIORITY_LOW, (GSourceFunc) rstto_main_window_add_file_to_recent_files, file, NULL);
+                g_idle_add_full(G_PRIORITY_LOW, (GSourceFunc) rstto_main_window_add_file_to_recent_files, files->data, NULL);
             }
         }
 


More information about the Xfce4-commits mailing list