aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-element.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-17 09:47:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-17 09:47:23 +0800
commit988af2ce7308aae817c91ad6322cf6912d20f86b (patch)
tree051d1aca1198bb706f9b5c2098e83b0c70476c21 /filter/filter-element.c
parent76b2ad6623866547dd33818fc3a0615bc639b0cc (diff)
downloadgsoc2013-evolution-988af2ce7308aae817c91ad6322cf6912d20f86b.tar.gz
gsoc2013-evolution-988af2ce7308aae817c91ad6322cf6912d20f86b.tar.zst
gsoc2013-evolution-988af2ce7308aae817c91ad6322cf6912d20f86b.zip
Removed filter-url.[c,h] and filter-system-flag.[c,h]
2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed filter-url.[c,h] and filter-system-flag.[c,h] * filter-element.c (filter_element_new_type_name): Removed references to the url-type and system-flag types. * filtertypes.xml: Removed "source" type and fixed "status" to use the optionmenu. * filter-url.[c,h]: Removed. * filter-system-flag.[c,h]: Removed (just use optionmenu). svn path=/trunk/; revision=8768
Diffstat (limited to 'filter/filter-element.c')
-rw-r--r--filter/filter-element.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/filter/filter-element.c b/filter/filter-element.c
index 56f47a8161..28841ab837 100644
--- a/filter/filter-element.c
+++ b/filter/filter-element.c
@@ -32,9 +32,7 @@
#include "filter-colour.h"
#include "filter-datespec.h"
#include "filter-score.h"
-#include "filter-system-flag.h"
#include "filter-folder.h"
-#include "filter-url.h"
static gboolean validate (FilterElement *fe);
static void xml_create(FilterElement *fe, xmlNodePtr node);
@@ -265,12 +263,8 @@ filter_element_new_type_name (const char *type)
return (FilterElement *)filter_datespec_new ();
} else if (!strcmp (type, "score")) {
return (FilterElement *)filter_score_new ();
- } else if (!strcmp (type, "url")) {
- return (FilterElement *)filter_url_new ();
} else if (!strcmp (type, "regex")) {
return (FilterElement *)filter_input_new_type_name (type);
- } else if (!strcmp (type, "system-flag")) {
- return (FilterElement *)filter_system_flag_new ();
} else {
g_warning("Unknown filter type '%s'", type);
return 0;