[gnome-commander] search: move ProtectedData -> SearchData::ProtectedData



commit 2941874568c1df6de99295f240274e250e5075c5
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Apr 10 23:07:02 2011 +0200

    search: move ProtectedData -> SearchData::ProtectedData

 src/gnome-cmd-search-dialog.cc |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 5454441..ace1150 100755
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -52,16 +52,17 @@ static GnomeCmdDialogClass *parent_class = NULL;
 #define SEARCH_JUMP_SIZE     4096U
 #define SEARCH_BUFFER_SIZE  (SEARCH_JUMP_SIZE * 10U)
 
-struct ProtectedData
-{
-    GList *files;
-    gchar *msg;
-    GMutex *mutex;
-};
 
 
 struct SearchData
 {
+    struct ProtectedData
+    {
+        GList *files;
+        gchar *msg;
+        GMutex *mutex;
+    };
+
     const gchar *name_pattern;              // the pattern that file names should match to end up in the file list
     const gchar *content_pattern;           // the pattern that the content of a file should match to end up in the file list
     const gchar *dir;                       // the current dir of the search routine



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