[gnome-commander] search: void start_generic_search() -> gboolean start_generic_search()
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] search: void start_generic_search() -> gboolean start_generic_search()
- Date: Fri, 13 May 2011 17:53:28 +0000 (UTC)
commit 7c16d85eee8ff71169d3fd77aa1224a9eeeba00c
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Fri May 13 18:52:01 2011 +0200
search: void start_generic_search() -> gboolean start_generic_search()
src/gnome-cmd-search-dialog.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 743591f..eed8e6f 100755
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -468,7 +468,7 @@ static void on_dialog_destroy (GnomeCmdSearchDialog *dialog, gpointer user_data)
}
-static void start_generic_search (SearchData *data)
+static gboolean start_generic_search (SearchData *data)
{
// create an re for file name matching
data->name_filter = new Filter(data->name_pattern, data->case_sens, data->name_filter_type);
@@ -487,6 +487,8 @@ static void start_generic_search (SearchData *data)
data->pdata.mutex = g_mutex_new ();
data->thread = g_thread_create ((GThreadFunc) perform_search_operation, data, TRUE, NULL);
+
+ return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]