[gnome-commander] search: fix for bug introduced in commit 763fb813bd1f8a1d7b2eb5d00b8975aeec83ad12



commit e9f9e72091e9e17a9043fbc6fff5a0868637c2ff
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun May 29 13:15:11 2011 +0200

    search: fix for bug introduced in commit 763fb813bd1f8a1d7b2eb5d00b8975aeec83ad12

 src/dialogs/gnome-cmd-search-dialog.cc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 0b3a228..d76f2f9 100755
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -429,13 +429,13 @@ static gboolean update_search_status_widgets (SearchData &data)
  * data structure that has been shared between the search threads and the
  * main thread.
  */
-static gboolean join_thread_func (SearchData &data)
+static gboolean join_thread_func (SearchData *data)
 {
-    if (data.thread)
-        g_thread_join (data.thread);
+    if (data->thread)
+        g_thread_join (data->thread);
 
-    if (data.pdata.mutex)
-        g_mutex_free (data.pdata.mutex);
+    if (data->pdata.mutex)
+        g_mutex_free (data->pdata.mutex);
 
     return FALSE;
 }



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