From 3834c823592912bcaf881cb94e949612ce29baf2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 11 Aug 2000 03:46:37 +0000 Subject: Fixed some warnings. 2000-08-10 Christopher James Lahey * e-calendar-item.c, e-calendar.c: Fixed some warnings. svn path=/trunk/; revision=4723 --- widgets/misc/ChangeLog | 4 ++++ widgets/misc/e-calendar-item.c | 2 +- widgets/misc/e-calendar.c | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 2d57cab426..279e7fc9bc 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,7 @@ +2000-08-10 Christopher James Lahey + + * e-calendar-item.c, e-calendar.c: Fixed some warnings. + 2000-07-25 Damon Chaplin * e-calendar-item.h: diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index 0386eabc84..e51754d786 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -464,7 +464,7 @@ e_calendar_item_set_arg (GtkObject *o, GtkArg *arg, guint arg_id) break; case ARG_SHOW_WEEK_NUMBERS: bvalue = GTK_VALUE_BOOL (*arg); - if (calitem->show_week_numbers != ivalue) { + if (calitem->show_week_numbers != bvalue) { calitem->show_week_numbers = bvalue; need_reshape = TRUE; } diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c index 638d50de56..ec85e3471f 100644 --- a/widgets/misc/e-calendar.c +++ b/widgets/misc/e-calendar.c @@ -56,10 +56,12 @@ static gint e_calendar_expose (GtkWidget *widget, GdkEventExpose *event); static void e_calendar_draw (GtkWidget *widget, GdkRectangle *area); +#if 0 static gint e_calendar_button_press (GtkWidget *widget, GdkEventButton *event); static gint e_calendar_button_release (GtkWidget *widget, GdkEventButton *event); +#endif static gint e_calendar_focus_in (GtkWidget *widget, GdkEventFocus *event); static gint e_calendar_focus_out (GtkWidget *widget, @@ -347,7 +349,9 @@ e_calendar_paint (ECalendar *cal, } +/* FIXME These aren't used? */ +#if 0 static gint e_calendar_button_press (GtkWidget *widget, GdkEventButton *event) @@ -370,6 +374,7 @@ e_calendar_button_release (GtkWidget *widget, return FALSE; } +#endif static gint -- cgit