From 872a31a00c5771b57e9cbd4211cf3ee33a306a42 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 3 Nov 2009 23:57:17 -0600 Subject: =?UTF-8?q?Bug=C2=A0600402=20-=20Clear=20search=20is=20always=20en?= =?UTF-8?q?abled=20in=20calendar/contact/task?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/addressbook/e-book-shell-view.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/addressbook/e-book-shell-view.c') diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 4a09a14825..8ea97caddc 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -131,7 +131,6 @@ book_shell_view_execute_search (EShellView *shell_view) GString *string; EAddressbookView *view; EAddressbookModel *model; - EFilterRule *rule; const gchar *format; const gchar *text; gchar *query; @@ -211,9 +210,7 @@ book_shell_view_execute_search (EShellView *shell_view) /* XXX This is wrong. We need to programmatically construct an * EFilterRule, tell it to build code, and pass the resulting * expression string to EAddressbookModel. */ - rule = e_filter_rule_new (); - e_shell_content_set_search_rule (shell_content, rule); - g_object_unref (rule); + e_shell_content_set_search_rule (shell_content, NULL); /* Submit the query. */ book_shell_content = E_BOOK_SHELL_CONTENT (shell_content); -- cgit v1.2.3