From 07441478f8cd2b666e7f8e3a23f118f29078f806 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 7 Aug 2006 14:44:50 +0000 Subject: Fix for bug #350267 svn path=/trunk/; revision=32490 --- calendar/ChangeLog | 7 +++++++ calendar/gui/calendar-component.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 254d0491d1..7269248373 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-08-07 Srinivasa Ragavan + + ** Fix for bug #350267 + + * gui/calendar-component.c: (calcomp_vpane_realized): Fix the + miscalculation becoz of convertion from float to int. + 2006-08-04 Johnny Jacob * gui/cal-search-bar.h : Changed the CAL_SEARCH items mask for diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index c125b0a241..c4c48f22fb 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -134,7 +134,8 @@ extern ECompEditorRegistry *comp_editor_registry; static void calcomp_vpane_realized (GtkWidget *vpane, CalendarComponentView *view) { - gtk_paned_set_position (GTK_PANED (vpane), view->vpane_pos*vpane->allocation.height); + gtk_paned_set_position (GTK_PANED (vpane), (int)(view->vpane_pos*vpane->allocation.height)); + } static gboolean -- cgit