[gnome-commander/gcmd-1-2-8] Fix for bug introduced in commit 72cacbac293e866310b608d57f4ff08a61a4410b



commit 57124aa5661d8e78035daee54628acd2cb72067a
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun May 1 22:19:06 2011 +0200

    Fix for bug introduced in commit 72cacbac293e866310b608d57f4ff08a61a4410b

 src/gnome-cmd-search-dialog.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 0b5a565..cb666fc 100644
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -324,7 +324,7 @@ static void search_dir_r (GnomeCmdDir *dir, SearchData *data)
 
                 // the file matched the search criteria, lets add it to the list
                 g_mutex_lock (data->pdata.mutex);
-                data->pdata.files = g_list_append (data->pdata.files, f->ref());
+                data->pdata.files = g_list_append (data->pdata.files, gnome_cmd_file_ref (f));
                 g_mutex_unlock (data->pdata.mutex);
 
                 // also ref each directory that has a matching file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]