aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-13 08:13:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-13 08:13:59 +0800
commitdc06d7ef54d3971b97ce0366bdc52fc96f400b17 (patch)
tree125053ded32da7f837befb199f920ae3f2db34e1 /widgets
parent49510132a1d2ea0ebe294669ab837092d033c744 (diff)
downloadgsoc2013-evolution-dc06d7ef54d3971b97ce0366bdc52fc96f400b17.tar.gz
gsoc2013-evolution-dc06d7ef54d3971b97ce0366bdc52fc96f400b17.tar.zst
gsoc2013-evolution-dc06d7ef54d3971b97ce0366bdc52fc96f400b17.zip
No longer need the context in order to clone a FilterRule.
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. svn path=/trunk/; revision=12791
Diffstat (limited to 'widgets')
-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 ();