diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-29 23:29:23 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-29 23:29:23 +0800 |
commit | fcac1b77fc6bd48d7c03e1762e0dca66c1986d14 (patch) | |
tree | 171cb358601c756c2d147ddedb77c78ea7bc9a06 /calendar | |
parent | 62442ef9505f5f3a00e214baa8bc70e41c606632 (diff) | |
download | gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar.gz gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar.bz2 gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar.lz gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar.xz gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.tar.zst gsoc2013-evolution-fcac1b77fc6bd48d7c03e1762e0dca66c1986d14.zip |
Fixes #460825.
svn path=/trunk/; revision=33886
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/cal-search-bar.c | 15 |
2 files changed, 12 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 48294a7fc8..14e87cc653 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net> + + * gui/cal-search-bar.c: (cal_search_bar_class_init): Remove needless + EFilterBarClass. + 2007-07-18 Milan Crha <mcrha@redhat.com> ** Fix for bug #326388 diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 7bfd4bbaa1..7d67799578 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -137,13 +137,11 @@ G_DEFINE_TYPE (CalSearchBar, cal_search_bar, E_FILTER_BAR_TYPE) /* Class initialization function for the calendar search bar */ static void -cal_search_bar_class_init (CalSearchBarClass *class) +cal_search_bar_class_init (CalSearchBarClass *klass) { - EFilterBarClass *e_search_bar_class; - GtkObjectClass *object_class; - e_search_bar_class = (EFilterBarClass *) class; - object_class = (GtkObjectClass *) class; + GtkObjectClass *object_class = GTK_OBJECT_CLASS (klass); + ESearchBarClass *search_bar_class = E_SEARCH_BAR_CLASS (klass); cal_search_bar_signals[SEXP_CHANGED] = gtk_signal_new ("sexp_changed", @@ -163,9 +161,10 @@ cal_search_bar_class_init (CalSearchBarClass *class) GTK_TYPE_NONE, 1, GTK_TYPE_STRING); - class->sexp_changed = NULL; - class->category_changed = NULL; - ((ESearchBarClass *) e_search_bar_class)->search_activated = cal_search_bar_search_activated; + klass->sexp_changed = NULL; + klass->category_changed = NULL; + + search_bar_class->search_activated = cal_search_bar_search_activated; object_class->destroy = cal_search_bar_destroy; } |