aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-01-06 12:26:51 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2006-01-06 12:26:51 +0800
commit43cce270884812c514bb13fb180816b5a449a61a (patch)
tree6cfa34c9c2074f8693306f67c2e9100da65a4d77 /widgets
parente8e613adb369203cb070983b67de75e2f463f939 (diff)
downloadgsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar.gz
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar.bz2
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar.lz
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar.xz
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.tar.zst
gsoc2013-evolution-43cce270884812c514bb13fb180816b5a449a61a.zip
assign the data first before accessing it.
2006-01-06 Parthasarathi Susarla <sparthasarathi@novell.com> * e-search-bar.c:(clear_verb_cb): assign the data first before accessing it. svn path=/trunk/; revision=31070
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c2
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);
}