aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-filter-bar.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 41ae11ee83..5bda4e70ab 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-12 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-filter-bar.c (menubar_activated): No longer need the context
+ in order to clone a FilterRule.
+ (option_changed): Same.
+
2001-09-06 Anna Marie Dirks <anna@ximian.com>
* e-filter-bar.c: added a default size for the saved search
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 14b11bb62d..f2bce0ba38 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -167,7 +167,7 @@ menubar_activated (ESearchBar *esb, int id, void *data)
GtkWidget *gd;
FilterRule *rule;
- rule = filter_rule_clone (efb->current_query, efb->context);
+ rule = filter_rule_clone (efb->current_query);
w = filter_rule_get_widget (rule, efb->context);
filter_rule_set_source (rule, FILTER_SOURCE_INCOMING);
@@ -234,7 +234,7 @@ option_changed (ESearchBar *esb, void *data)
FilterRule *rule;
if (efb->current_query)
- rule = filter_rule_clone (efb->current_query, efb->context);
+ rule = filter_rule_clone (efb->current_query);
else
rule = filter_rule_new ();