[Commits] quicksearch.c 1.1.2.103.2.1 1.1.2.103.2.2 quicksearch.h 1.1.2.22 1.1.2.22.2.1

miras at claws-mail.org miras at claws-mail.org
Sun Dec 11 11:26:03 CET 2011


Update of /home/claws-mail/claws/src/gtk
In directory claws-mail:/tmp/cvs-serv20152/src/gtk

Modified Files:
      Tag: new-contacts
	quicksearch.c quicksearch.h 
Log Message:
2011-12-11 [mir]	3.7.10cvs16.10-new-contacts

	* src/gtk/quicksearch.c
	* src/gtk/quicksearch.h
	    Applied patch 3.7.10cvs112 from HEAD

Index: quicksearch.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/quicksearch.c,v
retrieving revision 1.1.2.103.2.1
retrieving revision 1.1.2.103.2.2
diff -u -d -r1.1.2.103.2.1 -r1.1.2.103.2.2
--- quicksearch.c	29 Nov 2011 00:15:25 -0000	1.1.2.103.2.1
+++ quicksearch.c	11 Dec 2011 10:26:01 -0000	1.1.2.103.2.2
@@ -50,7 +50,6 @@
 {
 	QuickSearchType			 type;
 	gchar				*matchstring;
-	FolderItem			*folderItem;
 	gboolean			 recursive;
 };
 typedef struct _QuickSearchRequest QuickSearchRequest;
@@ -1511,6 +1510,12 @@
 	quicksearch->root_folder_item = NULL;
 }
 
+void quicksearch_folder_item_invalidate(QuickSearch *quicksearch, FolderItem *item)
+{
+	if (quicksearch->root_folder_item == item)
+		quicksearch->root_folder_item = NULL;
+}
+
 gboolean quicksearch_is_in_typing(QuickSearch *quicksearch)
 {
 	return quicksearch->in_typing;

Index: quicksearch.h
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/quicksearch.h,v
retrieving revision 1.1.2.22
retrieving revision 1.1.2.22.2.1
diff -u -d -r1.1.2.22 -r1.1.2.22.2.1
--- quicksearch.h	16 Feb 2011 07:16:22 -0000	1.1.2.22
+++ quicksearch.h	11 Dec 2011 10:26:01 -0000	1.1.2.22.2.1
@@ -65,4 +65,5 @@
 gboolean quicksearch_is_in_typing(QuickSearch *quicksearch);
 void quicksearch_relayout(QuickSearch *quicksearch);
 void quicksearch_set_search_strings(QuickSearch *quicksearch);
+void quicksearch_folder_item_invalidate(QuickSearch *quicksearch, FolderItem *item);
 #endif /* QUICKSEARCH_H */



More information about the Commits mailing list