aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-11 11:46:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-11 11:46:37 +0800
commit3834c823592912bcaf881cb94e949612ce29baf2 (patch)
tree9948d475db00f3e03149810bdd1694ed87fccc2b /widgets
parentd5f9483b16cea64491eb5fe4eec815c61126849e (diff)
downloadgsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar.gz
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar.bz2
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar.lz
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar.xz
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.tar.zst
gsoc2013-evolution-3834c823592912bcaf881cb94e949612ce29baf2.zip
Fixed some warnings.
2000-08-10 Christopher James Lahey <clahey@helixcode.com> * e-calendar-item.c, e-calendar.c: Fixed some warnings. svn path=/trunk/; revision=4723
Diffstat (limited to 'widgets')
-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