diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-02-23 04:55:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-02-23 04:55:51 +0800 |
commit | 51b03dbcdfdc984834867a04792781ad8f073f65 (patch) | |
tree | e7a1d41940ae89408eaad53b9f6e40650ebf6b4c /shell/e-history.h | |
parent | d7ea6022c14604e845edef89e61c253804273cba (diff) | |
download | gsoc2013-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.h | 4 |
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 */ |