diff options
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 4a87dcdedf..0cb71a289a 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-06 Parthasarathi Susarla <sparthasarathi@novell.com> + + * e-search-bar.c:(clear_verb_cb): assign the data first + before accessing it. + 2006-01-02 Harish Krishnaswamy <kharish@novell.com> reviewed by: Srinivasa Ragavan <sragavan@novell.com> diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 7945d90b92..9e4d9b529a 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -223,11 +223,11 @@ clear_verb_cb (BonoboUIComponent *ui_component, const char *verb_name) { ESearchBar *esb; + esb = E_SEARCH_BAR (data); gtk_widget_modify_base (esb->entry, GTK_STATE_NORMAL, NULL); gtk_widget_modify_text (esb->entry, GTK_STATE_NORMAL, NULL); - esb = E_SEARCH_BAR (data); clear_search (esb); } |