aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog4
-rw-r--r--widgets/misc/e-calendar-item.c2
-rw-r--r--widgets/misc/e-calendar.c5
3 files changed, 10 insertions, 1 deletions
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 <clahey@helixcode.com>
+
+ * e-calendar-item.c, e-calendar.c: Fixed some warnings.
+
2000-07-25 Damon Chaplin <damon@helixcode.com>
* 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