From dc06d7ef54d3971b97ce0366bdc52fc96f400b17 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Sep 2001 00:13:59 +0000 Subject: No longer need the context in order to clone a FilterRule. 2001-09-12 Jeffrey Stedfast * e-filter-bar.c (menubar_activated): No longer need the context in order to clone a FilterRule. (option_changed): Same. svn path=/trunk/; revision=12791 --- widgets/misc/ChangeLog | 6 ++++++ widgets/misc/e-filter-bar.c | 4 ++-- 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 + + * 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 * 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 (); -- cgit