From 222645151f9ba0c906ce50af6e969d79a480f66a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 7 Nov 2002 22:47:47 +0000 Subject: Initial port of gui/ subdir to GNOME 2 2002-11-07 JP Rosevear * Initial port of gui/ subdir to GNOME 2 svn path=/trunk/; revision=18648 --- calendar/gui/cal-search-bar.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'calendar/gui/cal-search-bar.c') diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 2483b2b126..f0e473ec1d 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include "cal-search-bar.h" @@ -132,7 +131,7 @@ cal_search_bar_class_init (CalSearchBarClass *class) cal_search_bar_signals[SEXP_CHANGED] = gtk_signal_new ("sexp_changed", GTK_RUN_FIRST, - object_class->type, + G_TYPE_FROM_CLASS (object_class), GTK_SIGNAL_OFFSET (CalSearchBarClass, sexp_changed), gtk_marshal_NONE__STRING, GTK_TYPE_NONE, 1, @@ -141,14 +140,12 @@ cal_search_bar_class_init (CalSearchBarClass *class) cal_search_bar_signals[CATEGORY_CHANGED] = gtk_signal_new ("category_changed", GTK_RUN_FIRST, - object_class->type, + G_TYPE_FROM_CLASS (object_class), GTK_SIGNAL_OFFSET (CalSearchBarClass, category_changed), gtk_marshal_NONE__STRING, GTK_TYPE_NONE, 1, GTK_TYPE_STRING); - gtk_object_class_add_signals (object_class, cal_search_bar_signals, LAST_SIGNAL); - class->sexp_changed = NULL; class->category_changed = NULL; -- cgit