aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-history.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-02-23 04:55:51 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-02-23 04:55:51 +0800
commit51b03dbcdfdc984834867a04792781ad8f073f65 (patch)
treee7a1d41940ae89408eaad53b9f6e40650ebf6b4c /shell/e-history.h
parentd7ea6022c14604e845edef89e61c253804273cba (diff)
downloadgsoc2013-evolution-51b03dbcdfdc984834867a04792781ad8f073f65.tar.gz
gsoc2013-evolution-51b03dbcdfdc984834867a04792781ad8f073f65.tar.zst
gsoc2013-evolution-51b03dbcdfdc984834867a04792781ad8f073f65.zip
New helper function to remove all the matching URIs from the history.
* e-shell-view.c (remove_uri_from_history): New helper function to remove all the matching URIs from the history. (history_uri_matching_func): Compare function for using e_history_remove_matching. (storage_set_removed_folder_callback): Call `remove_uri_from_history()'. * e-history.c (e_history_remove_matching): New. svn path=/trunk/; revision=15803
Diffstat (limited to 'shell/e-history.h')
-rw-r--r--shell/e-history.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-history.h b/shell/e-history.h
index f2d4efb1fa..d9204441f5 100644
--- a/shell/e-history.h
+++ b/shell/e-history.h
@@ -77,6 +77,10 @@ void *e_history_get_current (EHistory *history);
void e_history_add (EHistory *history,
void *data);
+void e_history_remove_matching (EHistory *history,
+ const void *data,
+ GCompareFunc compare_func);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */